<li><p>The Jabber client MAY remove the contact from the roster if the user
explicitely asked (so the user has to be informed he might remove both
presence subscriptions).</p></li>
<li><p>The jabber client MAY transparently remove the contact from the roster if
the user asked to, and if <em>subscription='none'</em> or
<em>subscription='to'</em>.</p></li>
</ol>
</li>
</ol>
<p>In addition to the "Remove" action described above, the client MAY
provide a way to revoke the contact's subscription to the user's presence.
This action, if provided, SHOULD be called "Block" since this is the
convention used by other IM networks.</p>
</section1>
<section1topic='Display of Contacts in the Roster'anchor='contacts'>
<p>Defining a sensible roster policy is difficult, because many users have different, special needs. We have to ensure that:</p>
<ul>
<li>Most contacts that everybody wants to hide are hidden.</li>
<li>No contact that someone wants to see is hidden.</li>
</ul>
<p>The user's roster contains both contacts of interest for the user
(contacts with <em>subscription='both'</em> or <em>subscription='to'</em>) and contacts which
are only interested in receiving the user's presence information. Also, the
user might be interested in having some contacts even with
<em>subscription='none'</em>, because he often send messages to them but isn't
interested in their presence.</p>
<p>Therefore, the following types of contacts SHOULD be displayed by clients:</p>
<ul>
<li>items with <em>subscription='both'</em> or <em>subscription='to'</em> ;</li>
<li>items with <em>subscription='none'</em> or <em>subscription='from'</em> and <em>ask='subscribe'</em>. It is ((subscription='none' or subscription='from') and ask='subscribe') ;</li>
<li>items with <em>subscription='none'</em> or <em>subscription='from'</em> which have a 'name' attribute or a 'group' child set. It is ((subscription='none' or subscription='from') and (name attribute or group child)).</li>
</ul>
<p>The client MAY display contacts with subscription='from' which don't match
one of the above cases in an additional 'Observers' group. If no 'Observers' group is
used, the client SHOULD NOT display contacts which don't match one of the
above rules.</p>
<p>Some users give nicknames to contacts they do not want to see, to be able to remember who they are when cleaning the roster. An additional 'Hidden' group MAY be used to handle such contacts. The client SHOULD NOT display contacts if one of their groups is the 'Hidden' group. (This mean that if contact 'C' is in groups 'G' and 'Hidden', 'C' should never be displayed, even in group 'G'.)</p>
<section2topic='Name of the Hidden group'anchor='hiddenname'>
<p>The name of the 'Hidden' group can be managed in two different ways :</p>
<ul>
<li>It could always be named 'Hidden' but be displayed translated by the client ;</li>
<li>It could be named as the user wants. Its name could then be stored using jabber:iq:private, like the delimiter for nested groups in &xep0083;.</li>
<p>This is left as an open issue since no clients (to the author's knowledge) implement this 'Hidden' group. But the preference should go to the first solution, which avoids relying on &xep0049;.</p>