1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-12-22 07:38:52 -05:00

add 'subid' attribute in response

This commit is contained in:
Stefan Strigler 2016-07-14 10:34:29 +02:00
parent 71b0cd1f9d
commit fd28f22ab6

View File

@ -1499,7 +1499,7 @@ 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 and MAY include a &PUBSUB; child element with the updated &lt;subscription/&gt; element for that node.</p> <p>If the request can be successfully processed, the service MUST return an IQ result and MAY include a &PUBSUB; child element with the updated &lt;subscription/&gt; element for that node. If subscription identifiers are supported by the service, the 'subid' attribute MUST be present as well.</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'
@ -1509,7 +1509,8 @@ And by opposing end them?
<subscription <subscription
node='princely_musings' node='princely_musings'
jid='francisco@denmark.lit' jid='francisco@denmark.lit'
subscription='none'/> subscription='none'
subid='ba49252aaa4f5d320c24d3766f0bdcade78c78d3'/>
</pubsub> </pubsub>
</iq> </iq>
]]></example> ]]></example>