aboutsummaryrefslogtreecommitdiffstats
path: root/spec/scansion/basic_roster.scs
blob: 17ad228014b3d6b8a6dc57e71a30626df1155c38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[Client] Romeo
	jid: user@localhost
	password: password

[Client] Juliet
	jid: juliet@localhost
	password: password

---------

Romeo connects

Juliet connects

Romeo sends:
	<presence/>

Romeo receives:
	<presence from="${Romeo's full JID}" />

Romeo sends:
	<iq type="get" id="roster1">
		<query xmlns='jabber:iq:roster'/>
	</iq>

Romeo receives:
	<iq type="result" id="roster1">
		<query ver='{scansion:any}' xmlns="jabber:iq:roster"/>
	</iq>

Romeo disconnects

#Juliet receives:
#	<presence from="${Romeo's full JID}" />
#
#Juliet receives:
#	<presence from="${Romeo's full JID}" type="unavailable" />
#
#Juliet disconnects