spec/scansion/keep_full_sub_req.scs
changeset 9671 e41d8b12cb47
child 9672 6fbf8fa7ab8e
equal deleted inserted replaced
9670:270216874740 9671:e41d8b12cb47
       
     1 # server MUST keep a record of the complete presence stanza comprising the subscription request (#689)
       
     2 
       
     3 [Client] Alice
       
     4 	jid: pars-a@localhost
       
     5 	password: password
       
     6 
       
     7 [Client] Bob
       
     8 	jid: pars-b@localhost
       
     9 	password: password
       
    10 
       
    11 ---------
       
    12 
       
    13 Alice connects
       
    14 
       
    15 Alice sends:
       
    16 	<presence to="${Bob's JID}" type="subscribe">
       
    17 		<preauth xmlns="urn:xmpp:pars:0" token="1tMFqYDdKhfe2pwp" />
       
    18 	</presence>
       
    19 
       
    20 Alice disconnects
       
    21 
       
    22 Bob connects
       
    23 
       
    24 Bob sends:
       
    25 	<presence/>
       
    26 
       
    27 Bob receives:
       
    28 	<presence from="${Bob's full JID}"/>
       
    29 	
       
    30 
       
    31 Bob receives:
       
    32 	<presence from="${Alice's JID}">
       
    33 		<preauth xmlns="urn:xmpp:pars:0" token="1tMFqYDdKhfe2pwp" />
       
    34 	</presence>
       
    35 
       
    36 Bob disconnects
       
    37