1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-12-21 15:18:51 -05:00

added clarifying suggestion about presence-out and PEP

This commit is contained in:
Peter Saint-Andre 2012-05-07 14:00:00 -06:00
parent 8a6c6f030d
commit 02a95e5f11

2
xep-0016.xml Normal file → Executable file
View File

@ -147,7 +147,7 @@
<li>&lt;message/&gt; -- blocks incoming message stanzas</li>
<li>&lt;iq/&gt; -- blocks incoming IQ stanzas</li>
<li>&lt;presence-in/&gt; -- blocks incoming presence notifications</li>
<li>&lt;presence-out/&gt; -- blocks outgoing presence notifications</li>
<li>&lt;presence-out/&gt; -- blocks outgoing presence notifications <note>When a &lt;presence-out/&gt; element is included, the server might want to also block presence-like notifications, such as those which use &xep0163;.</note></li>
</ul>
<p>Within the 'jabber:iq:privacy' namespace, the &lt;query/&gt; child of an IQ stanza of type "set" MUST NOT include more than one child element (i.e., the stanza MUST contain only one &lt;active/&gt; element, one &lt;default/&gt; element, or one &lt;list/&gt; element); if a sending entity violates this rule, the receiving entity MUST return a &lt;bad-request/&gt; stanza error.</p>
<p>When a client adds or updates a privacy list, the &lt;list/&gt; element SHOULD contain at least one &lt;item/&gt; child element; when a client removes a privacy list, the &lt;list/&gt; element MUST NOT contain any &lt;item/&gt; child elements.</p>