User name instead of jid

i am using ejabberd 2.1.4 with postegres as external database, and iJab as chat client, and i have set up the server and everything is working fine, but when any user is connected ijab shows the user's JID instead of the user's real name, what could be the problem? and how do i show user real name instead of his JID?

e.g :
jid is "peter@chat.com"
real name "Peter Sloan"

what i see as user name is: "peter"

can anyone advise me on this?

ISsues

Half of the problem solved! adding users to the roster by sending commands with name shows this name as the user name, but the problem is when i start chat with someone, i keep seeing his JID rather than his Name, what am i doing wrong on this?

Syndicate content