adium 2221:aec584787c0f: We *do* need to HTML decode these statu...
commits at adium.im
commits at adium.im
Sun May 17 16:14:12 UTC 2009
details: http://hg.adium.im/adium/rev/aec584787c0f
revision: 2221:aec584787c0f
author: Zachary West <zacw at adium.im>
date: Sun May 17 12:14:06 2009 -0400
We *do* need to HTML decode these status messages.
Side note: "Let's Face It" is an amazing album, and it looks better without ' in the middle. *dances*
diffstat:
Plugins/Purple Service/CBPurpleAccount.m | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (18 lines):
diff -r cf9fcf197188 -r aec584787c0f Plugins/Purple Service/CBPurpleAccount.m
--- a/Plugins/Purple Service/CBPurpleAccount.m Sat May 16 22:37:21 2009 -0400
+++ b/Plugins/Purple Service/CBPurpleAccount.m Sun May 17 12:14:06 2009 -0400
@@ -270,12 +270,9 @@
message = NULL;
}
}
-
- // These are HTML-stripped messages.
- return message ? [NSAttributedString stringWithString:[NSString stringWithUTF8String:message]] : nil;
- } else {
- return [AIHTMLDecoder decodeHTML:[NSString stringWithUTF8String:message]];
}
+
+ return message ? [AIHTMLDecoder decodeHTML:[NSString stringWithUTF8String:message]] : nil;
}
/*!
More information about the commits
mailing list