Annotate

spec/scansion/disco_self.scs @ 13549:3b357ab6b6eb

util.pubsub: Add method returning subset of config as metadata Allows granting read only access to other sets of users using a separate access control capability, which makes sense as some properties may be intended to be public but read-only.
author Kim Alvefur <zash@zash.se>
date Fri, 08 Nov 2024 02:11:00 +0100
parent 13408:d7857ef7843a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13408
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 # Basic login and initial presence
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3 [Client] Romeo
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 jid: discoverer@localhost
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 password: password
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
7 ---------
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
9 Romeo connects
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
10
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
11 Romeo sends:
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
12 <iq type="get" id="info1">
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
13 <query xmlns="http://jabber.org/protocol/disco#info"/>
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
14 </iq>
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
15
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
16 Romeo receives:
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
17 <iq type="result" id="info1">
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
18 <query xmlns="http://jabber.org/protocol/disco#info" scansion:strict="false">
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
19 <identity xmlns="http://jabber.org/protocol/disco#info" category="account" type="registered"/>
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
20 <feature var="http://jabber.org/protocol/disco#info"/>
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
21 <feature var="http://jabber.org/protocol/disco#items"/>
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
22 </query>
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
23 </iq>
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
24
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
25 Romeo disconnects
d7857ef7843a mod_disco: Advertise disco#info and #items on bare JIDs to fix #1664
Kim Alvefur <zash@zash.se>
parents:
diff changeset
26