Don't use an `NSNumber` key in a dictionary which will be saved as a preference,...
commit90e2df8a2d8c39bb86e661ebe579b3b9d8f447ba
authorEvan Schoenberg <evan@adiumx.com>
Fri, 1 Feb 2008 03:44:50 +0000 (1 03:44 +0000)
committerEvan Schoenberg <evan@adiumx.com>
Fri, 1 Feb 2008 03:44:50 +0000 (1 03:44 +0000)
tree052389699d496ff969f10c3f05edd7d2cd3c0698
parente309385100b6e70c966801875f622959b824dc87
Don't use an `NSNumber` key in a dictionary which will be saved as a preference, as this prevents the entire preference group from saving; you must use an `NSString`. We now have logging which points the problem out.

Fixes #9082 (Custom status pre-population with previous message.  Fixes #225 (yes, a ticket from 3 years ago!) which was previously very, very mysterious - the preference in question is in the same group as the last-status preference, which is why it wouldn't save.

git-svn-id: svn://svn.adiumx.com/adium/trunk@22539 1c916fce-81e2-0310-a464-8ca513f45935
Frameworks/Adium Framework/Source/AIStatusMenu.m
Source/AIStatusController.m