> I'm implementing a Jabber client over Java, then I fault into two
> problems
> 
>       1- How block a user like MSN Messenger.

Blocking communications from specific JIDs is usually done client-side.
There is no Jabber protocol for this.

>       2- How define a name to show in the roster of each buddy that
> see my presence.

When you add a roster item, you can include a 'name' attribute, like so:

<iq type="set" id="uniquevalue">
  <query xmlns="jabber:iq:roster">
    <item jid="[EMAIL PROTECTED]" 
        name="Romeo" 
        subscription="none" 
        ask="subscribe">
      <group>friends</group>
    </item>
  </query>
</iq>

However, AFAIK there is no way to suggest to your "buddy" what that name
attribute should include.

Peter

_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev

Reply via email to