adium 2179:5717bc0e5257: Set a fake KEY_ACCOUNT_DISPLAY_NAME for...
commits at adium.im
commits at adium.im
Wed May 13 23:45:59 UTC 2009
details: http://hg.adium.im/adium/rev/5717bc0e5257
revision: 2179:5717bc0e5257
author: Zachary West <zacw at adium.im>
date: Wed May 13 19:45:41 2009 -0400
Set a fake KEY_ACCOUNT_DISPLAY_NAME for IRC accounts, since their display name is based on server status and not off the global display name.
diffstat:
Plugins/Purple Service/ESIRCAccount.m | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diffs (15 lines):
diff -r d4cca169ded9 -r 5717bc0e5257 Plugins/Purple Service/ESIRCAccount.m
--- a/Plugins/Purple Service/ESIRCAccount.m Wed May 13 16:28:19 2009 -0400
+++ b/Plugins/Purple Service/ESIRCAccount.m Wed May 13 19:45:41 2009 -0400
@@ -117,6 +117,11 @@
// The fakeConversation was allocated; now free it.
g_free(conv);
+
+ // Set a fake display name preference since we differ from global always.
+ [self setPreference:[[NSAttributedString stringWithString:@"Adium"] dataRepresentation]
+ forKey:KEY_ACCOUNT_DISPLAY_NAME
+ group:GROUP_ACCOUNT_STATUS];
}
/*!
More information about the commits
mailing list