mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 16:55:07 -05:00
XEP-0160: Remove trailing whitespaces in examples.
This commit is contained in:
parent
13f77c5a91
commit
ef359f6246
11
xep-0160.xml
11
xep-0160.xml
@ -70,7 +70,7 @@
|
||||
Too flattering-sweet to be substantial.
|
||||
</body>
|
||||
</message>
|
||||
]]></example>
|
||||
]]></example>
|
||||
<p>Next, the recipient's server determines if there are any available resources that have sent non-negative presence priority. If there are, the server immediately delivers the message stanza to the resource that it determines to be most available (based on its own algorithm).</p>
|
||||
<p>Next, the recipient's server determines if offline messages can be stored on behalf of the intended recipient. If not (e.g., because the recipient's offline message queue is full), the server returns a &unavailable; error to the sender. If so, the server stores the message for later delivery.</p>
|
||||
<p>Now the recipient authenticates with the server and sends initial presence (with a non-negative priority) to the server.</p>
|
||||
@ -78,7 +78,7 @@
|
||||
<presence from='juliet@capulet.com/balcony'>
|
||||
<priority>1</priority>
|
||||
</presence>
|
||||
]]></example>
|
||||
]]></example>
|
||||
<p>The recipient's server now delivers the offline message to that resource (it is RECOMMENDED for the server to add a &xep0203; extension to indicate that the message was stored offline).</p>
|
||||
<example caption='Recipient's Server Delivers Message'><![CDATA[
|
||||
<message from='romeo@montague.net/orchard' to='juliet@capulet.com'>
|
||||
@ -91,7 +91,7 @@
|
||||
from='capulet.com'
|
||||
stamp='2002-09-10T23:08:25Z'>Offline Storage</delay>
|
||||
</message>
|
||||
]]></example>
|
||||
]]></example>
|
||||
</section1>
|
||||
<section1 topic='Handling of Message Types' anchor='types'>
|
||||
<p>Message stanzas SHOULD be handled by a server as follows (based on the values of the 'type' attribute specified in <cite>RFC 6121</cite>):</p>
|
||||
@ -109,15 +109,16 @@
|
||||
<iq from='juliet@capulet.com/chamber' to='capulet.com'>
|
||||
<query xmlns='http://jabber.org/protocol/disco#info'/>
|
||||
</iq>
|
||||
]]></example>
|
||||
]]></example>
|
||||
<example caption='Server Returns Information About Support'><![CDATA[
|
||||
<iq from='capulet.com' to='juliet@capulet.com/chamber'>
|
||||
<query xmlns='http://jabber.org/protocol/disco#info'>
|
||||
...
|
||||
<feature var='msgoffline'/>
|
||||
...
|
||||
</query>
|
||||
</iq>
|
||||
]]></example>
|
||||
]]></example>
|
||||
</section1>
|
||||
<section1 topic='Security Considerations' anchor='security'>
|
||||
<p>A message stored offline may not be readable by the recipient if the message was encrypted using a session-based encryption method such as &xep0116; or if the key used in object encryption is revoked after the message was sent but before it is read.</p>
|
||||
|
Loading…
Reference in New Issue
Block a user