pidgin: 7c24035c: Allow using the Send To menu in the case...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Sat Sep 18 13:55:48 EDT 2010


----------------------------------------------------------------------
Revision: 7c24035c10e3cd15c39417122d2b0e60b17e5611
Parent:   05e12c9d881aec34d48d8531db0a07cf22fc267d
Author:   pidgin at keithmoyer.com
Date:     09/18/10 13:50:29
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/7c24035c10e3cd15c39417122d2b0e60b17e5611

Changelog: 

Allow using the Send To menu in the case that the active conversation's account
disconnects.  Previously, the Send To menu was unusable in this case, making it
impossible to simply switch accounts and continue the conversation.
Fixes #12471.

Changes against parent 05e12c9d881aec34d48d8531db0a07cf22fc267d

  patched  pidgin/gtkconv.c

-------------- next part --------------
============================================================
--- pidgin/gtkconv.c	05e49eb1dbefb89a941ec6a6985ef4c98ae7f13e
+++ pidgin/gtkconv.c	fd98809f02bf50949648e402ede0f2622464edfe
@@ -3903,7 +3903,7 @@ generate_send_to_items(PidginWindow *win
 						continue;
 
 					account = purple_buddy_get_account(buddy);
-					if (purple_account_is_connected(account))
+					if (purple_account_is_connected(account) || account == gtkconv->active_conv->account)
 					{
 						/* Use the PurplePresence to get unique buddies. */
 						PurplePresence *presence = purple_buddy_get_presence(buddy);


More information about the Commits mailing list