Promote the message moderation and retraction protoXEPs

This commit is contained in:
JC Brand 2019-11-01 10:06:02 +01:00
parent 3108be943e
commit 626e3d2a19
3 changed files with 21 additions and 7 deletions

View File

@ -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'>

View File

@ -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 &lt;moderated/&gt; element which contains a &lt;retracted/&gt; element. The &lt;moderated/&gt; element MUST include a 'by' attribute specifying the JID of the moderating entity. The &lt;retracted/&gt; 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 &lt;moderated/&gt; and &lt;retracted/&gt; 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 &lt;moderate/&gt; 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>

View File

@ -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 &lt;<link url='https://xmpp.org/extensions/xep-0421.html'>https://xmpp.org/extensions/xep-0421.html</link>&gt;.</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 &lt;<link url='https://xmpp.org/extensions/xep-0422.html'>https://xmpp.org/extensions/xep-0422.html</link>&gt;.</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 &lt;<link url='https://xmpp.org/extensions/xep-0423.html'>https://xmpp.org/extensions/xep-0423.html</link>&gt;.</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 &lt;<link url='https://xmpp.org/extensions/xep-0424.html'>https://xmpp.org/extensions/xep-0424.html</link>&gt;.</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 &lt;<link url='https://xmpp.org/extensions/xep-0425.html'>https://xmpp.org/extensions/xep-0425.html</link>&gt;.</note>" >