mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-23 01:32:22 -05:00
Promote the message moderation and retraction protoXEPs
This commit is contained in:
parent
3108be943e
commit
626e3d2a19
@ -9,8 +9,8 @@
|
||||
<title>Message Retraction</title>
|
||||
<abstract>This specification defines a method for indicating that a message should be retracted.</abstract>
|
||||
&LEGALNOTICE;
|
||||
<number>XXXX</number>
|
||||
<status>ProtoXEP</status>
|
||||
<number>0424</number>
|
||||
<status>Experimental</status>
|
||||
<type>Standards Track</type>
|
||||
<sig>Standards</sig>
|
||||
<approver>Council</approver>
|
||||
@ -26,6 +26,12 @@
|
||||
<shortname>message-retract</shortname>
|
||||
&lance;
|
||||
&jcbrand;
|
||||
<revision>
|
||||
<version>0.1.0</version>
|
||||
<date>2019-11-01</date>
|
||||
<initials>XEP Editor (jcb)</initials>
|
||||
<remark>Accepted by vote of Council on 2019-10-23.</remark>
|
||||
</revision>
|
||||
<revision>
|
||||
<version>0.0.4</version>
|
||||
<date>2019-09-25</date>
|
||||
@ -116,7 +122,7 @@
|
||||
<p>A client MAY inform the user that a no-longer displayed message did previously exist and has been removed.</p>
|
||||
<p>Clients MUST set the XEP-0359 'origin id' attribute on sent messages to make them suitable for message retraction.</p>
|
||||
<p>The Sender MUST NOT send a retraction request for a message with non-messaging payloads. For example, a sender MUST NOT send a retraction for a roster item exchange request or a file transfer part.</p>
|
||||
<p>A retraction (that's not part of a protoXEP message moderation operation) MUST only be processed when both the original message and the retraction request are received from the same bare-JID (in a one-on-one conversation) or full-JID (in a non-anonymous MUC from &xep0045;).</p>
|
||||
<p>A retraction (that's not part of a &xep0425; operation) MUST only be processed when both the original message and the retraction request are received from the same bare-JID (in a one-on-one conversation) or full-JID (in a non-anonymous MUC from &xep0045;).</p>
|
||||
<p>When used in a semi-anonymous MUC, the recipient client MUST check that a message retraction was sent by the author of the retracted message by checking the occupant id from &xep0421;.</p>
|
||||
</section1>
|
||||
<section1 topic='Security Considerations' anchor='security'>
|
@ -9,8 +9,8 @@
|
||||
<title>Message Moderation</title>
|
||||
<abstract>This specification defines a method for groupchat moderators to moderate messages.</abstract>
|
||||
&LEGALNOTICE;
|
||||
<number>XXXX</number>
|
||||
<status>ProtoXEP</status>
|
||||
<number>0425</number>
|
||||
<status>Experimental</status>
|
||||
<type>Standards Track</type>
|
||||
<sig>Standards</sig>
|
||||
<approver>Council</approver>
|
||||
@ -24,6 +24,12 @@
|
||||
<supersededby/>
|
||||
<shortname>message-moderation</shortname>
|
||||
&jcbrand;
|
||||
<revision>
|
||||
<version>0.1.0</version>
|
||||
<date>2019-11-01</date>
|
||||
<initials>XEP Editor (jcb)</initials>
|
||||
<remark>Accepted by vote of Council on 2019-10-16.</remark>
|
||||
</revision>
|
||||
<revision>
|
||||
<version>0.0.1</version>
|
||||
<date>2019-09-25</date>
|
||||
@ -112,7 +118,7 @@
|
||||
</section1>
|
||||
|
||||
<section1 topic='Tombstones' anchor='tombstones'>
|
||||
<p>An archiving service MAY replace the contents of a message that was retracted due to moderation with a 'tombstone' similar to the one described in the protoXEP message-retraction.</p>
|
||||
<p>An archiving service MAY replace the contents of a message that was retracted due to moderation with a 'tombstone' similar to the one described in &xep0424;.</p>
|
||||
<p>The archiving service replaces the message with a <moderated/> element which contains a <retracted/> element. The <moderated/> element MUST include a 'by' attribute specifying the JID of the moderating entity. The <retracted/> element SHOULD contain a 'from' attribute which points to the JID of the author of the retracted message.</p>
|
||||
<p>If the message was sent in a semi-anonymous MUC, the occupant id from &xep0421; needs to be included for the moderator and the message author in the <moderated/> and <retracted/> elements respectively. </p>
|
||||
|
||||
@ -135,7 +141,7 @@
|
||||
<section1 topic='Business Rules' anchor='rules'>
|
||||
<p>A moderator MUST NOT send a moderation request for a message with non-messaging payloads. For example, a moderator MUST NOT moderate a roster item exchange request or a file transfer part.</p>
|
||||
<p>In MUCs, only moderation messages (not tombstones, but messages containing the <moderate/> element) received from the MUC service itself are legitimate, all other such messages MUST be discarded.</p>
|
||||
<p>If message moderation includes a retraction request, the MUC or other service that supports message retraction SHOULD prevent further distribution of the retracted message by the service and the archiving service MAY replace the retracted message with a tombstone as detailed in (TBD: XEP number for message retractions required).</p>
|
||||
<p>If message moderation includes a retraction request, the MUC or other service that supports message retraction SHOULD prevent further distribution of the retracted message by the service and the archiving service MAY replace the retracted message with a tombstone as detailed in &xep0424;.</p>
|
||||
</section1>
|
||||
<section1 topic='Security Considerations' anchor='security'>
|
||||
<p>There can never be a guarantee that a moderated message will appear as such in all clients. Clients should therefore, when possible, inform users that no such guarantee exists.</p>
|
2
xep.ent
2
xep.ent
@ -1568,3 +1568,5 @@ IANA Service Location Protocol, Version 2 (SLPv2) Templates</link></span> <note>
|
||||
<!ENTITY xep0421 "<span class='ref'><link url='https://xmpp.org/extensions/xep-0421.html'>Anonymous unique occupant identifiers for MUCs (XEP-0421)</link></span> <note>XEP-0421: Anonymous unique occupant identifiers for MUCs <<link url='https://xmpp.org/extensions/xep-0421.html'>https://xmpp.org/extensions/xep-0421.html</link>>.</note>" >
|
||||
<!ENTITY xep0422 "<span class='ref'><link url='https://xmpp.org/extensions/xep-0422.html'>Message Fastening (XEP-0422)</link></span> <note>XEP-0422: Message Fastening <<link url='https://xmpp.org/extensions/xep-0422.html'>https://xmpp.org/extensions/xep-0422.html</link>>.</note>" >
|
||||
<!ENTITY xep0423 "<span class='ref'><link url='https://xmpp.org/extensions/xep-0423.html'>XMPP Compliance Suites 2020 (XEP-0423)</link></span> <note>XEP-0423: XMPP Compliance Suites 2020 <<link url='https://xmpp.org/extensions/xep-0423.html'>https://xmpp.org/extensions/xep-0423.html</link>>.</note>" >
|
||||
<!ENTITY xep0424 "<span class='ref'><link url='https://xmpp.org/extensions/xep-0424.html'>Message Retraction (XEP-0424)</link></span> <note>XEP-0424: Message Retraction <<link url='https://xmpp.org/extensions/xep-0424.html'>https://xmpp.org/extensions/xep-0424.html</link>>.</note>" >
|
||||
<!ENTITY xep0425 "<span class='ref'><link url='https://xmpp.org/extensions/xep-0425.html'>Message Moderation (XEP-0425)</link></span> <note>XEP-0425: Message Moderation <<link url='https://xmpp.org/extensions/xep-0425.html'>https://xmpp.org/extensions/xep-0425.html</link>>.</note>" >
|
||||
|
Loading…
Reference in New Issue
Block a user