Mercurial > pidgin.yaz
changeset 11846:908ff9b56e99
[gaim-migrate @ 14137]
SF Patch #1338349 from sadrul
'From the kwiki (GenericBugs)
"If non-buddy B is in a chat with your account A, and
you add them as a buddy to account C, they appear in
the chat as if they were a buddy of account A until you
re-enter the chat."'
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Wed, 26 Oct 2005 13:03:56 +0000 |
parents | 9beb663a6fb5 |
children | 5554d363fd59 |
files | src/gtkconv.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkconv.c Wed Oct 26 12:32:14 2005 +0000 +++ b/src/gtkconv.c Wed Oct 26 13:03:56 2005 +0000 @@ -3280,6 +3280,10 @@ g_return_if_fail(buddy != NULL); g_return_if_fail(conv != NULL); + /* Do nothing if the buddy does not belong to the conv's account */ + if (gaim_buddy_get_account(buddy) != gaim_conversation_get_account(conv)) + return; + /* This is safe because this callback is only used in chats, not IMs. */ model = gtk_tree_view_get_model(GTK_TREE_VIEW(GAIM_GTK_CONVERSATION(conv)->u.chat->list));