Smack library question

Hey guys,

At the moment im learning the smack api, i was using the getUserDisplayName(); and getUserID(); but they seem to return the same thing. I really wanted just to return the users nickname is this possible with the API and not have it return a full name or email address.

Kind regards


Is this in multi-user chat? Any more details you can provide will help.