# HG changeset patch # User Paul Aurich # Date 1247375672 0 # Node ID 5d82a9298ed5005d1c8cf39e0d5bf456937a1a3a # Parent f1cd0395afef8d698ca0ca5623cd26d020520612 Remove a superfluous variable. diff -r f1cd0395afef -r 5d82a9298ed5 libpurple/protocols/jabber/message.c --- a/libpurple/protocols/jabber/message.c Sun Jul 12 05:07:09 2009 +0000 +++ b/libpurple/protocols/jabber/message.c Sun Jul 12 05:14:32 2009 +0000 @@ -622,7 +622,6 @@ char *c; const PurpleConnection *gc = js->gc; - const gchar *who = xmlnode_get_attrib(packet, "from"); PurpleAccount *account = purple_connection_get_account(gc); PurpleConversation *conv = NULL; GList *smiley_refs = NULL; @@ -650,12 +649,12 @@ jm->type == JABBER_MESSAGE_CHAT) { conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_ANY, - who, account); + from, account); if (!conv) { /* we need to create the conversation here */ conv = purple_conversation_new(PURPLE_CONV_TYPE_IM, - account, who); + account, from); } } } @@ -700,7 +699,7 @@ /* we need to request the smiley (data) */ purple_debug_info("jabber", "data is unknown, need to request it\n"); - jabber_message_send_data_request(js, conv, cid, who, + jabber_message_send_data_request(js, conv, cid, from, alt); } }