Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/buddy.c @ 23360:da78db9f188f
Pass the "real" chat username to the pidgin_retrieve_user_info function.
Get rid of the get_cb_info implementation in the xmpp prpl as it isn't needed.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 13 Jun 2008 04:57:45 +0000 |
parents | b4ed2512be3b |
children | 3c3032be12de 3da0957e7821 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/buddy.c Fri Jun 13 04:34:06 2008 +0000 +++ b/libpurple/protocols/jabber/buddy.c Fri Jun 13 04:57:45 2008 +0000 @@ -1793,22 +1793,6 @@ } } -void jabber_buddy_get_info_chat(PurpleConnection *gc, int id, - const char *resource) -{ - JabberStream *js = gc->proto_data; - JabberChat *chat = jabber_chat_find_by_id(js, id); - char *full_jid; - - if(!chat) - return; - - full_jid = g_strdup_printf("%s@%s/%s", chat->room, chat->server, resource); - jabber_buddy_get_info_for_jid(js, full_jid); - g_free(full_jid); -} - - static void jabber_buddy_set_invisibility(JabberStream *js, const char *who, gboolean invisible) {