summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Juick/AppDelegate.m7
1 files changed, 1 insertions, 6 deletions
diff --git a/Juick/AppDelegate.m b/Juick/AppDelegate.m
index e9a5e6d..04a441c 100644
--- a/Juick/AppDelegate.m
+++ b/Juick/AppDelegate.m
@@ -31,12 +31,7 @@
[self registerForRemoteNotifications];
NSDictionary *userInfo = launchOptions[UIApplicationLaunchOptionsRemoteNotificationKey];
if (userInfo != nil) {
- NSString *payload = [userInfo objectForKey:@"mid"];
- if (payload != nil) {
- NSNumberFormatter *f = [NSNumberFormatter new];
- f.numberStyle = NSNumberFormatterNoStyle;
- self.pushedThread = [f numberFromString:payload];
- }
+ self.pushedThread = [userInfo objectForKey:@"mid"];
}
return YES;
}