# HG changeset patch # User Sean Egan # Date 1140130976 0 # Node ID dc396c7dbcf9cd482db98d3516b39a101233516a # Parent d5a2c4e9bb605d030406343bde6e879cb684f2b3 [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 diff -r d5a2c4e9bb60 -r dc396c7dbcf9 src/protocols/jabber/message.c --- 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);