Comparison

spec/scansion/muc_subject_issue_667.scs @ 9708:6507df6d2c55

MUC: Test that subject is still empty after sending a non-subject change message with a subject (#667)
author Kim Alvefur <zash@zash.se>
date Sun, 16 Dec 2018 22:59:14 +0100
parent 9707:9171eddcce93
child 13414:d54364746a7c
comparison
equal deleted inserted replaced
9707:9171eddcce93 9708:6507df6d2c55
38 38
39 Romeo receives: 39 Romeo receives:
40 <message type="groupchat" from="issue667@conference.localhost/Romeo"> 40 <message type="groupchat" from="issue667@conference.localhost/Romeo">
41 <subject>Greetings</subject> 41 <subject>Greetings</subject>
42 <body>Hello everyone</body> 42 <body>Hello everyone</body>
43 </message>
44
45 # Resync
46 Romeo sends:
47 <presence to="issue667@conference.localhost/Romeo">
48 <x xmlns="http://jabber.org/protocol/muc"/>
49 </presence>
50
51 # Presences
52 Romeo receives:
53 <presence from="issue667@conference.localhost/Romeo">
54 <x xmlns="http://jabber.org/protocol/muc#user">
55 <item affiliation="owner" role="moderator" jid="${Romeo's full JID}"/>
56 <status code="110"/>
57 </x>
58 </presence>
59
60 Romeo receives:
61 <message type="groupchat" from="issue667@conference.localhost/Romeo">
62 <subject>Greetings</subject>
63 <body>Hello everyone</body>
64 </message>
65
66 # the still empty subject
67 Romeo receives:
68 <message type="groupchat" from="issue667@conference.localhost">
69 <subject/>
43 </message> 70 </message>
44 71
45 # this is a subject change 72 # this is a subject change
46 Romeo sends: 73 Romeo sends:
47 <message to="issue667@conference.localhost" type="groupchat"> 74 <message to="issue667@conference.localhost" type="groupchat">