adium-1.4 2798:13548a608dd3: The context was being read in prope...

commits at adium.im commits at adium.im
Mon Nov 23 05:39:02 UTC 2009


details:	http://hg.adium.im/adium-1.4/rev/13548a608dd3
revision:	2798:13548a608dd3
author:		Zachary West <zacw at adium.im>
date:		Mon Nov 23 00:38:57 2009 -0500

The context was being read in properly, we were just mis-parsing the Twitter end of it, which now works fine. Refs #13447 which didn't need this change.

diffs (21 lines):

diff -r 0423824a16e0 -r 13548a608dd3 Source/DCMessageContextDisplayPlugin.m
--- a/Source/DCMessageContextDisplayPlugin.m	Mon Nov 23 00:23:17 2009 -0500
+++ b/Source/DCMessageContextDisplayPlugin.m	Mon Nov 23 00:38:57 2009 -0500
@@ -354,7 +354,7 @@
 	}
 	else if ([elementStack count]) {
 		AIXMLElement *element = [AIXMLElement elementWithName:elementName];
-		[(AIXMLElement *)[elementStack objectAtIndex:0U] insertEscapedObject:element atIndex:0U];
+		[(AIXMLElement *)[elementStack objectAtIndex:0U] insertObject:element atIndex:0U];
 		[elementStack insertObject:element atIndex:0U];
 	}
 }
@@ -362,7 +362,7 @@
 - (void)parser:(LMXParser *)parser foundCharacters:(NSString *)string
 {
 	if ([elementStack count])
-		[(AIXMLElement *)[elementStack objectAtIndex:0U] insertEscapedObject:string atIndex:0U];
+		[(AIXMLElement *)[elementStack objectAtIndex:0U] insertObject:string atIndex:0U];
 }
 
 - (void)parser:(LMXParser *)parser elementStarted:(NSString *)elementName attributes:(NSDictionary *)attributes




More information about the commits mailing list