adium/adium

Fix this dictionary not existing forever.
libotr4.0.0
2013-07-23, Thijs Alkemade
9253834ef1d1
Fix this dictionary not existing forever.
--- a/Source/AdiumOTREncryption.m Tue Jul 23 22:14:55 2013 +0200
+++ b/Source/AdiumOTREncryption.m Tue Jul 23 22:33:23 2013 +0200
@@ -593,11 +593,11 @@
static NSDictionary *maxSizeByServiceClassDict = nil;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
- maxSizeByServiceClassDict = @{ @"AIM-compatible": @(2343),
- @"MSN" : @(1409),
- @"Yahoo!" : @(832),
- @"Gadu-Gadu": @(1999),
- @"IRC" : @(417) };
+ maxSizeByServiceClassDict = [@{ @"AIM-compatible": @(2343),
+ @"MSN" : @(1409),
+ @"Yahoo!" : @(832),
+ @"Gadu-Gadu": @(1999),
+ @"IRC" : @(417) } retain];
});
/* This will return 0 if we don't know (unknown protocol) or don't need it (Jabber),