[Adium-commits] adium 1960:7dd50cb1e864: For a list bookmark, compare to the cha...

adium-commits at adiumx.com adium-commits at adiumx.com
Fri Apr 24 19:19:27 UTC 2009


details:	http://hg.adiumx.com/adium/rev/7dd50cb1e864
revision:	1960:7dd50cb1e864
author:		Zachary West <zacw at adiumx.com>
date:		Fri Apr 24 15:19:21 2009 -0400

For a list bookmark, compare to the chat using their normalized name. Fixes linking timeline chats to their chats (mostly for bookmarks created before the change, really) which I regressed in fe470f38b994.

diffstat:

 Frameworks/Adium Framework/Source/AIListBookmark.m |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 18b74afae09c -r 7dd50cb1e864 Frameworks/Adium Framework/Source/AIListBookmark.m
--- a/Frameworks/Adium Framework/Source/AIListBookmark.m	Fri Apr 24 09:41:40 2009 -0700
+++ b/Frameworks/Adium Framework/Source/AIListBookmark.m	Fri Apr 24 15:19:21 2009 -0400
@@ -280,7 +280,7 @@
 - (BOOL)chatIsOurs:(AIChat *)chat
 {
 	return (chat &&
-			[chat.name isEqualToString:self.name] &&
+			[chat.name isEqualToString:[self.account.service normalizeChatName:self.name]] &&
 			chat.account == self.account &&
 			((!chat.chatCreationDictionary && !self.chatCreationDictionary) ||
 			 ([chat.chatCreationDictionary isEqualToDictionary:self.chatCreationDictionary])));




More information about the commits mailing list