aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/si.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/jabber/si.c')
-rw-r--r--protocols/jabber/si.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/jabber/si.c b/protocols/jabber/si.c
index ffde6418..0b94f81b 100644
--- a/protocols/jabber/si.c
+++ b/protocols/jabber/si.c
@@ -371,7 +371,7 @@ int jabber_si_send_request(struct im_connection *ic, char *who, struct jabber_tr
/* Maybe we should hash this? */
tf->sid = g_strdup_printf( "BitlBeeJabberSID%d", tf->ft->local_id );
- if( ( s = strchr( who, '=' ) ) && jabber_chat_by_name( ic, s + 1 ) )
+ if( ( s = strchr( who, '=' ) ) && jabber_chat_by_jid( ic, s + 1 ) )
bud = jabber_buddy_by_ext_jid( ic, who, 0 );
else
bud = jabber_buddy_by_jid( ic, who, 0 );