powered by Jive Software

Sending a message

Is there a way to send a message to a user’'s nickname instead of the full XMPP name, in a situation where the nickname is known, but the full name might not be known.

For example: user xxx@jabber.org has user yyy@anotherjabber.org on their roster with ‘‘yyy’’ as their nickname.

Can the user xxx send a message to the nickname ‘‘yyy’’ instead of yyy@anotherjabber.org?

The only way I can see around this is to iterate through user xxx’'s roster entries and find the user nickname ‘‘yyy’’ and then send the message to the user with the full XMPP name.

Bryan,

No, you always need to use the full address in order to send a message. It’‘s possible that some servers may assume that a non-full address would refer to a user on the local server (like email servers do), but I’‘m not sure if that’'s proper behavior.

Regards,

Matt