aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/si.c
diff options
context:
space:
mode:
authorulim <a.sporto+bee@gmail.com>2007-12-05 02:30:50 +0100
committerulim <a.sporto+bee@gmail.com>2007-12-05 02:30:50 +0100
commit8076ec04b1b5699f8266fa0e2e17456974ced554 (patch)
treec53680ef30c2368e99f396e5e147b9c08437e46e /protocols/jabber/si.c
parentdce390357114e30a424106c99e49cef1e682e1af (diff)
parent793cc254ad2479d95d00266d6cb7ab2bcd158834 (diff)
merges from upstream/release
ulim 2007-12-04 Follow rename of jabber_chat_by_jid from upstrem ulim 2007-12-04 Merged in current devel Wilmer van der Gaast 2007-12-02 Imported setuid() patch from Simo Leone <simo@archlinux...> with some Wilmer van der Gaast 2007-12-02 Forgot to return something in jabber_chat_join_failed(). Wilmer van der Gaast 2007-12-02 Merging a change I should've pulled before committing three other changes. Wilmer van der Gaast 2007-12-02 Added charset checks on incoming msgs (from the IRC side) to prevent possible Wilmer van der Gaast 2007-12-02 Handling of presence-error packets (only useful for groupchats now), moved Wilmer van der Gaast 2007-12-02 Defining DEBUG via CFLAGS so that it'll always be there, even when a file ulim 2007-12-04 Jabber file transfer now also with sending! You can't use a proxy yet when Wilmer van der Gaast 2007-12-02 Removed retarded printf() (ARGH) and moved the event handling handling of Wilmer van der Gaast 2007-11-29 printf() in daemons considered harmful. Wilmer van der Gaast 2007-11-28 Fixed the epoll+ForkDaemon combination. The libevent event handling
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 );