mirror of
https://github.com/moparisthebest/xeps
synced 2025-01-30 23:10:10 -05:00
XEP-0384: add section about ending a session
This commit is contained in:
parent
70bdbf31cc
commit
5ffb1279ad
@ -269,6 +269,15 @@
|
|||||||
</iq>]]></example>
|
</iq>]]></example>
|
||||||
<p>A random preKeyPublic entry is selected, and used to build a SignalProtocol session.</p>
|
<p>A random preKeyPublic entry is selected, and used to build a SignalProtocol session.</p>
|
||||||
</section2>
|
</section2>
|
||||||
|
<section2 topic='Ending a session' anchor='usecases-ending'>
|
||||||
|
<p>In order to signal a contact that you like to terminate a session, your
|
||||||
|
device MUST send an <terminate> element to all intended recipient devices
|
||||||
|
inside an encrypted stanza. A user or client MAY tag the element with a
|
||||||
|
reason. If a device is receiving a stanza containing a <terminate> element,
|
||||||
|
it MUST show an information that the peer has ended the session. To prevent
|
||||||
|
that the user is accidentally sending plaintext messages, the client MUST
|
||||||
|
block all outgoing message until the user switched to plaintext.</p>
|
||||||
|
</section2>
|
||||||
<section2 topic='Sending a message' anchor='usecases-messagesend'>
|
<section2 topic='Sending a message' anchor='usecases-messagesend'>
|
||||||
<p>
|
<p>
|
||||||
In order to send a chat message, its <body> first has to be
|
In order to send a chat message, its <body> first has to be
|
||||||
|
Loading…
Reference in New Issue
Block a user