Adding +[NSString randomString] seems to be popular, it appears to be colliding with some plugin I have loaded. Add a prefix here. adium-1.5.11
authorThijs Alkemade <me@thijsalkema.de>
Tue, 16 Dec 2014 13:26:16 +0100
branchadium-1.5.11
changeset 5895 c4b291694b4a
parent 5894 60d7d05396d7
child 5896 9db8b48c8cf6
child 5897 63ff42d07432
Adding +[NSString randomString] seems to be popular, it appears to be colliding with some plugin I have loaded. Add a prefix here.
Plugins/Twitter Plugin/STTwitter/STTwitterOAuth.m
--- a/Plugins/Twitter Plugin/STTwitter/STTwitterOAuth.m	Fri Nov 07 09:24:06 2014 -0600
+++ b/Plugins/Twitter Plugin/STTwitter/STTwitterOAuth.m	Tue Dec 16 13:26:16 2014 +0100
@@ -578,7 +578,7 @@
 
 @implementation NSString (STTwitterOAuth)
 
-+ (NSString *)randomString {
++ (NSString *)st_randomString {
     CFUUIDRef cfuuid = CFUUIDCreate (kCFAllocatorDefault);
     NSString *uuid = (NSString *)CFUUIDCreateString (kCFAllocatorDefault, cfuuid);
     CFRelease (cfuuid);
@@ -586,7 +586,7 @@
 }
 
 + (NSString *)random32Characters {
-    NSString *randomString = [self randomString];
+    NSString *randomString = [self st_randomString];
     
     NSAssert([randomString length] >= 32, @"");