adium 3893:a56e7a4f0f4f: Use "ChatCreationInfo" here instead of ...
commits at adium.im
commits at adium.im
Tue May 3 23:59:11 UTC 2011
details: http://hg.adium.im/adium/rev/a56e7a4f0f4f
revision: 3893:a56e7a4f0f4f
branch: (none)
author: Thijs Alkemade <thijsalkemade at gmail.com>
date: Wed May 04 01:59:02 2011 +0200
Use "ChatCreationInfo" here instead of "chatCreationInfo", to remain compatible with 1.4 if "Reopen chats from last time" is enabled.
This will mean everybody on 1.5hg will not automatically rejoin on startup once after upgrading. Sorry.
Fixes #15019
diffs (21 lines):
diff -r b93e2b7f040e -r a56e7a4f0f4f Source/AIInterfaceController.m
--- a/Source/AIInterfaceController.m Tue May 03 14:56:48 2011 -0500
+++ b/Source/AIInterfaceController.m Wed May 04 01:59:02 2011 +0200
@@ -472,7 +472,7 @@
chat = [adium.chatController chatWithName:[chatDict objectForKey:@"Name"]
identifier:nil
onAccount:account
- chatCreationInfo:[chatDict objectForKey:@"chatCreationInfo"]];
+ chatCreationInfo:[chatDict objectForKey:@"ChatCreationInfo"]];
} else {
AIListContact *contact = [adium.contactController contactWithService:service
account:account
@@ -539,7 +539,7 @@
[NSNumber numberWithBool:YES], @"IsGroupChat",
[NSNumber numberWithBool:([dict objectForKey:@"ActiveChat"] == chat)], @"ActiveChat",
chat.name, @"Name",
- [chat chatCreationDictionary], @"chatCreationInfo",nil]];
+ [chat chatCreationDictionary], @"ChatCreationInfo",nil]];
} else {
[newContainerDict addEntriesFromDictionary:[NSDictionary dictionaryWithObjectsAndKeys:
[NSNumber numberWithBool:([dict objectForKey:@"ActiveChat"] == chat)], @"ActiveChat",
More information about the commits
mailing list