mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 16:55:07 -05:00
Remove comments from examples in MAM
This commit is contained in:
parent
cf64b48a65
commit
8afa00d15b
16
xep-0313.xml
16
xep-0313.xml
@ -158,18 +158,20 @@
|
||||
<example caption='A user queries their archive for messages'><![CDATA[
|
||||
<iq type='set' id='juliet1'>
|
||||
<query xmlns='urn:xmpp:mam:0' queryid='f27' />
|
||||
</iq>
|
||||
</iq>]]></example>
|
||||
|
||||
<!-- server accepts the query -->
|
||||
<iq type='result' id='juliet1'/>
|
||||
<example caption='Their server accepts the query'><![CDATA[
|
||||
<iq type='result' id='juliet1'/>]]></example>
|
||||
|
||||
<!-- server sends matching messages ... -->
|
||||
<example caption='Their server sends the matching messages'><![CDATA[
|
||||
<message from="witch@shakespeare.lit" to="macbeth@shakespeare.lit">
|
||||
<body>Hail to thee</body>
|
||||
</message>]]></example>
|
||||
|
||||
<!-- final message -->
|
||||
<example caption='Server returns the message sentinel'><![CDATA[
|
||||
<message>
|
||||
<fin xmlns='urn:xmpp:mam:0' queryid='f27' />
|
||||
</message>
|
||||
]]></example>
|
||||
</message>]]></example>
|
||||
<p>To ensure that the client knows when the results are complete, the server MUST send a <fin> message. The client can optionally include a 'queryid' attribute in their query, which allows the client to match results to their initiating query, and if present in the client's query the server MUST include it in the <fin> response.</p>
|
||||
<p>When querying a pubsub node's archive, the 'node' attribute is added to the <query> element.</p>
|
||||
<example caption="A user queries a pubsub node's archive for messages"><![CDATA[
|
||||
|
Loading…
Reference in New Issue
Block a user