mirror of https://github.com/moparisthebest/xeps
be more consistent with reply
This commit is contained in:
parent
28d2de2188
commit
4c05f59dc5
11
xep-0060.xml
11
xep-0060.xml
|
@ -1499,12 +1499,19 @@ And by opposing end them?
|
||||||
]]></example>
|
]]></example>
|
||||||
</section3>
|
</section3>
|
||||||
<section3 topic='Success Case' anchor='subscriber-unsubscribe-success'>
|
<section3 topic='Success Case' anchor='subscriber-unsubscribe-success'>
|
||||||
<p>If the request can be successfully processed, the service MUST return an IQ result.</p>
|
<p>If the request can be successfully processed, the service MUST return an IQ result and SHOULD include a &PUBSUB; child element with the updated <subscription/> element for that node.</p>
|
||||||
<example caption='Service replies with success'><![CDATA[
|
<example caption='Service replies with success'><![CDATA[
|
||||||
<iq type='result'
|
<iq type='result'
|
||||||
from='pubsub.shakespeare.lit'
|
from='pubsub.shakespeare.lit'
|
||||||
to='francisco@denmark.lit/barracks'
|
to='francisco@denmark.lit/barracks'
|
||||||
id='unsub1'/>
|
id='unsub1'>
|
||||||
|
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
|
||||||
|
<subscription
|
||||||
|
node='princely_musings'
|
||||||
|
jid='francisco@denmark.lit'
|
||||||
|
subscription='none'/>
|
||||||
|
</pubsub>
|
||||||
|
</iq>
|
||||||
]]></example>
|
]]></example>
|
||||||
</section3>
|
</section3>
|
||||||
<section3 topic='Error Cases' anchor='subscriber-unsubscribe-error'>
|
<section3 topic='Error Cases' anchor='subscriber-unsubscribe-error'>
|
||||||
|
|
Loading…
Reference in New Issue