adium 5457:6e13799a9c9b: Use displayName instead of UID as the s...

commits at adium.im commits at adium.im
Thu May 2 10:40:07 UTC 2013


details:	http://hg.adium.im/adium/rev/6e13799a9c9b
revision:	5457:6e13799a9c9b
branch:		adium-1.6
author:		Thijs Alkemade <me at thijsalkema.de>
date:		Thu May 02 12:39:48 2013 +0200

Use displayName instead of UID as the sourceNick on Twitter. Refs #16377

diffs (21 lines):

diff -r 96a70c52c6eb -r 6e13799a9c9b Plugins/Twitter Plugin/AITwitterAccount.m
--- a/Plugins/Twitter Plugin/AITwitterAccount.m	Thu May 02 02:30:00 2013 +0200
+++ b/Plugins/Twitter Plugin/AITwitterAccount.m	Thu May 02 12:39:48 2013 +0200
@@ -1850,7 +1850,7 @@
 			
 			AIContentMessage *contentMessage = [AIContentMessage messageInChat:timelineChat
 																	withSource:fromObject
-																	sourceNick:fromObject.UID
+																	sourceNick:fromObject.displayName
 																   destination:self
 																		  date:date
 																	   message:message
@@ -1897,7 +1897,7 @@
 			if(chat && source && destination) {
 				AIContentMessage *contentMessage = [AIContentMessage messageInChat:chat
 																		withSource:source
-																		sourceNick:source.UID
+																		sourceNick:source.displayName
 																	   destination:destination
 																			  date:date
 																		   message:[self parseDirectMessage:message




More information about the commits mailing list