Diff

spec/scansion/disco_self.scs @ 13408:d7857ef7843a 0.12

mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664 Having to add these in *there* places seems less than ideal. I would also think that advertising disco#info is a bit redundant, since it is a requirement for everything in XMPP and if it was missing you would get an error back.
author Kim Alvefur <zash@zash.se>
date Sun, 17 Dec 2023 18:55:14 +0100
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/spec/scansion/disco_self.scs	Sun Dec 17 18:55:14 2023 +0100
@@ -0,0 +1,26 @@
+# Basic login and initial presence
+
+[Client] Romeo
+	jid: discoverer@localhost
+	password: password
+
+---------
+
+Romeo connects
+
+Romeo sends:
+	<iq type="get" id="info1">
+		<query xmlns="http://jabber.org/protocol/disco#info"/>
+	</iq>
+
+Romeo receives:
+	<iq type="result" id="info1">
+		<query xmlns="http://jabber.org/protocol/disco#info" scansion:strict="false">
+			<identity xmlns="http://jabber.org/protocol/disco#info" category="account" type="registered"/>
+			<feature var="http://jabber.org/protocol/disco#info"/>
+			<feature var="http://jabber.org/protocol/disco#items"/>
+		</query>
+	</iq>
+
+Romeo disconnects
+