mirror of
https://github.com/moparisthebest/xeps
synced 2024-08-13 16:53:48 -04:00
XEP-0364: Make use of XEP-0380.
This commit is contained in:
parent
78ce13c1e4
commit
82e292730e
18
xep-0364.xml
18
xep-0364.xml
@ -30,6 +30,12 @@
|
||||
<email>sam@samwhited.com</email>
|
||||
<jid>sam@samwhited.com</jid>
|
||||
</author>
|
||||
<revision>
|
||||
<version>0.3</version>
|
||||
<date>2017-01-28</date>
|
||||
<initials>egp</initials>
|
||||
<remark><p>Add a suggestion to use &xep0380;.</p></remark>
|
||||
</revision>
|
||||
<revision>
|
||||
<version>0.2</version>
|
||||
<date>2016-04-24</date>
|
||||
@ -201,6 +207,17 @@
|
||||
be able to read the message):
|
||||
</p>
|
||||
<code><![CDATA[<private xmlns="urn:xmpp:carbons:2"/>]]></code>
|
||||
</section2>
|
||||
<section2 topic='Explicit Message Encryption'>
|
||||
<p>
|
||||
&xep0380; defines a hint to let clients without OTR support know that
|
||||
this message was encrypted, and display a friendly message instead of
|
||||
the raw encrypted data. It is RECOMMENDED that the client adds this
|
||||
hint alongside every encrypted message
|
||||
</p>
|
||||
<code><![CDATA[
|
||||
<encryption xmlns="urn:xmpp:eme:0" namespace="urn:xmpp:otr:0"/>
|
||||
]]></code>
|
||||
<p>
|
||||
All together, an example OTR message might look like this (with the
|
||||
majority of the body stripped out for readability):
|
||||
@ -209,6 +226,7 @@
|
||||
<message from='malvolio@stewardsguild.lit/countesshousehold'
|
||||
to='olivia@countess.lit/veiled'>
|
||||
<body>?OTR?v23?...</body>
|
||||
<encryption xmlns="urn:xmpp:eme:0" namespace="urn:xmpp:otr:0"/>
|
||||
<no-copy xmlns="urn:xmpp:hints"/>
|
||||
<no-permanent-store xmlns="urn:xmpp:hints"/>
|
||||
<private xmlns="urn:xmpp:carbons:2"/>
|
||||
|
Loading…
Reference in New Issue
Block a user