aboutsummaryrefslogtreecommitdiffstats
path: root/spec/scansion/pep_nickname.scs
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-05-01 22:33:22 +0200
committerKim Alvefur <zash@zash.se>2019-05-01 22:33:22 +0200
commit23dbdae2aafb4722367446dd700e972d9f499125 (patch)
tree9d68bcbbc5733b069ea988a86da4e57bd64f32ae /spec/scansion/pep_nickname.scs
parenta399b1caed59abe4aa5a3c83656b2765cc478914 (diff)
downloadprosody-23dbdae2aafb4722367446dd700e972d9f499125.tar.gz
prosody-23dbdae2aafb4722367446dd700e972d9f499125.zip
mod_pubsub: Fix inclusion of publisher (fixes #1399)
Diffstat (limited to 'spec/scansion/pep_nickname.scs')
-rw-r--r--spec/scansion/pep_nickname.scs12
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/scansion/pep_nickname.scs b/spec/scansion/pep_nickname.scs
index f958ec75..aaf53c87 100644
--- a/spec/scansion/pep_nickname.scs
+++ b/spec/scansion/pep_nickname.scs
@@ -1,7 +1,7 @@
# Publishing a nickname in PEP and receiving a notification
[Client] Romeo
- jid: romeo@localhost/nJi7BeTR
+ jid: romeo@localhost
password: password
-----
@@ -20,7 +20,7 @@ Romeo sends:
</iq>
Romeo receives:
- <iq id="4" to="romeo@localhost/nJi7BeTR" type="result">
+ <iq id="4" type="result">
<pubsub xmlns="http://jabber.org/protocol/pubsub">
<publish node="http://jabber.org/protocol/nick">
<item id="current"/>
@@ -34,12 +34,12 @@ Romeo sends:
</presence>
Romeo receives:
- <iq id="disco" to="romeo@localhost/nJi7BeTR" from="romeo@localhost" type="get">
+ <iq id="disco" from="romeo@localhost" type="get">
<query xmlns="http://jabber.org/protocol/disco#info" node="http://code.matthewwild.co.uk/clix/#jC32N+FhQoLrZ7nNQtZK3aqR0Fk="/>
</iq>
Romeo receives:
- <presence from="romeo@localhost/nJi7BeTR">
+ <presence>
<c xmlns="http://jabber.org/protocol/caps" hash="sha-1" node="http://code.matthewwild.co.uk/clix/" ver="jC32N+FhQoLrZ7nNQtZK3aqR0Fk="/>
</presence>
@@ -55,10 +55,10 @@ Romeo sends:
</iq>
Romeo receives:
- <message type="headline" from="romeo@localhost" to="romeo@localhost/nJi7BeTR">
+ <message type="headline" from="romeo@localhost">
<event xmlns="http://jabber.org/protocol/pubsub#event">
<items node="http://jabber.org/protocol/nick">
- <item id="current">
+ <item id="current" publisher="${Romeo's JID}">
<nickname xmlns="http://jabber.org/protocol/nick"/>
</item>
</items>