[standards-jig] Hidding groups in Jabber clients

Matthias Wimmer m at tthias.net
Wed Jul 31 12:21:02 UTC 2002


Hi Jean-Louis!

Jean-Louis Seguineau /EXC/TEC wrote:

><iq type="get" id="uniquevalue">
>  <query xmlns="jabber:iq:roster">
>    <item jid="romeo at montague.net" name="Romeo"  subscription="both">
>      <group type="hidden">friends</group>
>    </item>
>    <item jid="juliet at capulet.com" name="Juliet"  subscription="both">
>      <group type="hidden">friends</group>
>    </item>
>  </query>
></iq>
>
vs.

><iq type="get" id="uniquevalue">
>  <query xmlns="jabber:iq:roster">
>    <item jid="romeo at montague.net" name="Romeo"  subscription="both">
>      <group>friends</group>
>    </item>
>    <item jid="juliet at capulet.com" name="Juliet"  subscription="both">
>      <group>friends</group>
>    </item>
>     <x xmlns="jabber:iq:roster:group">
>         <group type="hidden">friends</group>
>     <x>
>  </query>
></iq>
>
>Comments welcome
>  
>
I'd prefere the later one. If you add the type attribute to the <group/> 
element there can be inconsistentencies if a client that is not aware of 
this extension modifies the group membership of an item and addss it to 
an existing hidden group.


Tot kijk
    Matthias

-- 
Fon: +49-700 77007770		http://matthias-wimmer.de/
Fax: +49-89 312 88654		jabber://mawis@charente.de





More information about the Standards mailing list