changeset 13303:dc396c7dbcf9

[gaim-migrate @ 15669] There was an attempt to make each Jabber resource have its own conversation window, which wasn't working, and instead sending outgoing messages to the wrong resource. Different conversations with each resource breaks the whole "Send to" one-window-per-person metaphor, so I just changed the behavior to send messages to whichever resources last messaged you. Perhaps later, when we're not in a freeze, we can consider an API that allows prpls to populate the Send To menu themselves, letting you easily switch what resource you're chatting with in the same window committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Thu, 16 Feb 2006 23:02:56 +0000
parents d5a2c4e9bb60
children 5e9f17b439cd
files src/protocols/jabber/message.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/message.c	Thu Feb 16 20:50:10 2006 +0000
+++ b/src/protocols/jabber/message.c	Thu Feb 16 23:02:56 2006 +0000
@@ -73,10 +73,10 @@
 			GaimConversation *conv;
 
 			from = g_strdup_printf("%s@%s", jid->node, jid->domain);
-			conv = jabber_find_unnormalized_conv(from, jm->js->gc->account);
+			conv = gaim_find_conversation_with_account(GAIM_CONV_TYPE_IM, from, jm->js->gc->account);
 			if(conv) {
 				gaim_conversation_set_name(conv, jm->from);
-			}
+				}
 			g_free(from);
 		}
 		from = g_strdup(jm->from);