adium 3907:a3eba9e4f705: Group chat should support purple images...
commits at adium.im
commits at adium.im
Tue May 24 10:54:00 UTC 2011
details: http://hg.adium.im/adium/rev/a3eba9e4f705
revision: 3907:a3eba9e4f705
branch: (none)
author: Peter Fung <appfung at gmail.com>
date: Mon May 16 23:07:37 2011 +0800
Group chat should support purple images (custom emoticons etc.)
Fixes #15183, r=xnyhps
diffs (14 lines):
diff -r 450998a3550a -r a3eba9e4f705 Plugins/Purple Service/adiumPurpleConversation.m
--- a/Plugins/Purple Service/adiumPurpleConversation.m Sat May 21 14:33:52 2011 +0200
+++ b/Plugins/Purple Service/adiumPurpleConversation.m Mon May 16 23:07:37 2011 +0800
@@ -83,6 +83,10 @@
date:date
flags:[NSNumber numberWithInteger:flags]];
} else {
+ //Process any purple imgstore references into real HTML tags pointing to real images
+ CBPurpleAccount *adiumAccount = accountLookup(purple_conversation_get_account(conv));
+ messageString = processPurpleImages(messageString, adiumAccount);
+
NSAttributedString *attributedMessage = [AIHTMLDecoder decodeHTML:messageString];
NSNumber *purpleMessageFlags = [NSNumber numberWithInteger:flags];
NSString *normalizedUID = get_real_name_for_account_conv_buddy(purpleAccount, conv, (char *)who);
More information about the commits
mailing list