Renamed roster_barejid_from_handle -> roster_barejid_from_name

This commit is contained in:
James Booth
2013-05-21 21:12:00 +01:00
parent 8e4dd4b80f
commit f4a3dd84ea
4 changed files with 8 additions and 8 deletions

View File

@@ -62,8 +62,8 @@ message_send(const char * const msg, const char * const recipient)
{
const char * jid = NULL;
if (roster_barejid_from_handle(recipient) != NULL) {
jid = roster_barejid_from_handle(recipient);
if (roster_barejid_from_name(recipient) != NULL) {
jid = roster_barejid_from_name(recipient);
} else {
jid = recipient;
}