s2s and roster nicknames

Hi all,

I am using ejabberd to permit to my users, of two different sites, to communicate between them.
Well, I have two different domains: jabber.site1 and jabber.site2.

Users from jabber.site1 have users from jabber.site2 in their roster and vice-versa.
This is working great except for one thing, users from site1 are seeing jid@jabber.site2 in their roster instead of only the jid, obviously the same thing happened for users in jid@jabber.site2.

All users are using a shared roster and vcard are provide by mod_vcard_ldap.

Do you know if it's possible to have only print the jid instead of jid@domain when a user is from another domain? I mean on server side, without modify names in client's side.

Thanks in advance.

Syndicate content