adium 2139:9f79ee44cff5: Use the contact for the selected accoun...

commits at adium.im commits at adium.im
Mon May 11 02:52:04 UTC 2009


details:	http://hg.adium.im/adium/rev/9f79ee44cff5
revision:	2139:9f79ee44cff5
author:		Zachary West <zacw at adium.im>
date:		Sun May 10 22:51:42 2009 -0400

Use the contact for the selected account, not a 'generic' one, so our groups are accurate.

diffstat:

 Source/AIAdvancedInspectorPane.m |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r 20cef339aa2e -r 9f79ee44cff5 Source/AIAdvancedInspectorPane.m
--- a/Source/AIAdvancedInspectorPane.m	Sun May 10 22:44:43 2009 -0400
+++ b/Source/AIAdvancedInspectorPane.m	Sun May 10 22:51:42 2009 -0400
@@ -226,7 +226,9 @@
 
 - (void)contactMenu:(AIContactMenu *)inContactMenu didSelectContact:(AIListContact *)inContact
 {
-	currentSelectedContact = inContact;
+	currentSelectedContact = [adium.contactController contactWithService:inContact.service
+																 account:currentSelectedAccount
+																	 UID:inContact.UID];
 	
 	// Update the groups.
 	[tableView_groups reloadData];




More information about the commits mailing list