1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-12-22 07:38:52 -05:00
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@175 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Peter Saint-Andre 2006-11-07 04:04:13 +00:00
parent bfec2848c5
commit a7dbc1a699

View File

@ -22,6 +22,12 @@
<supersededby>None</supersededby> <supersededby>None</supersededby>
<shortname>blocking</shortname> <shortname>blocking</shortname>
&stpeter; &stpeter;
<revision>
<version>0.5</version>
<date>2006-11-06</date>
<initials>psa</initials>
<remark><p>Modified message handling to recommend returning service-unavailable error.</p></remark>
</revision>
<revision> <revision>
<version>0.4</version> <version>0.4</version>
<date>2006-11-06</date> <date>2006-11-06</date>
@ -158,7 +164,8 @@
<p>Once the user has blocked communications with the contact, the user's server MUST NOT deliver any XML stanzas from the contact to the user. The block remains in force until the user subsequently unblocks commmunications with the contact (i.e., the duration of the block is potentially unlimited and applies across sessions).</p> <p>Once the user has blocked communications with the contact, the user's server MUST NOT deliver any XML stanzas from the contact to the user. The block remains in force until the user subsequently unblocks commmunications with the contact (i.e., the duration of the block is potentially unlimited and applies across sessions).</p>
<p>If the contact 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 the contact 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>
<ul> <ul>
<li>For message stanzas and presence stanzas (including notifications, subscriptions, and probes), the user's server MUST NOT respond and MUST NOT return an error.</li> <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, the server MUST return an error, which SHOULD be &unavailable;.</li> <li>For IQ stanzas, the server MUST return an error, which SHOULD be &unavailable;.</li>
</ul> </ul>
<p>If the foregoing suggestions are followed, the user will appear offline to the contact.</p> <p>If the foregoing suggestions are followed, the user will appear offline to the contact.</p>