1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-25 10:42:19 -05:00
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@197 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Peter Saint-Andre 2006-11-21 21:10:25 +00:00
parent 45ca755e90
commit b57b7caea7

View File

@ -21,6 +21,12 @@
<shortname>privacy</shortname> <shortname>privacy</shortname>
&pgmillard; &pgmillard;
&stpeter; &stpeter;
<revision>
<version>1.5</version>
<date>2006-11-21</date>
<initials>psa</initials>
<remark><p>In order to track XEP-0191, specified that server should not ignore messages from blocked entities but instead should return a &lt;service-unavailable/&gt; error.</p></remark>
</revision>
<revision> <revision>
<version>1.4</version> <version>1.4</version>
<date>2006-10-04</date> <date>2006-10-04</date>
@ -726,8 +732,13 @@
<p>As a result of creating and applying the foregoing list, the user will not receive any communications from, nor send any stanzas to, any other users.</p> <p>As a result of creating and applying the foregoing list, the user will not receive any communications from, nor send any stanzas to, any other users.</p>
</section2> </section2>
<section2 topic="Blocked Entity Attempts to Communicate with User" anchor="protocol-error"> <section2 topic="Blocked Entity Attempts to Communicate with User" anchor="protocol-error">
<p>If a blocked entity attempts to send message or presence stanzas to the user, the user's server SHOULD silently drop the stanza and MUST NOT return an error to the sending entity.</p> <p>If a blocked entity attempts to send a stanza to the user (i.e., an inbound stanza from the user's perspective), the user's server shall handle the stanza according to the following rules:</p>
<p>If a blocked entity attempts to send an IQ stanza of type "get" or "set" to the user, the user's server MUST return to the sending entity a &lt;service-unavailable/&gt; stanza error, since this is the standard error code sent from a client that does not understand the namespace of an IQ get or set. IQ stanzas of other types SHOULD be silently dropped by the server.</p> <ul>
<li>For presence stanzas (including notifications, subscriptions, and probes), the server MUST NOT respond and MUST NOT return an error.</li>
<li>For message stanzas, the server SHOULD return an error, which SHOULD be &unavailable;.</li>
<li>For IQ stanzas of type "get" or "set", the server MUST return an error, which SHOULD be &unavailable;. IQ stanzas of other types MUST be silently dropped by the server.</li>
</ul>
<p>If the foregoing suggestions are followed, the user will appear offline to the contact.</p>
<example caption='Blocked entity attempts to send IQ get'><![CDATA[ <example caption='Blocked entity attempts to send IQ get'><![CDATA[
<iq type='get' <iq type='get'
to='romeo@example.net' to='romeo@example.net'