summaryrefslogtreecommitdiff
path: root/Juick/AppDelegate.m
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/AppDelegate.m')
-rw-r--r--Juick/AppDelegate.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/Juick/AppDelegate.m b/Juick/AppDelegate.m
index cb3b19e..b376052 100644
--- a/Juick/AppDelegate.m
+++ b/Juick/AppDelegate.m
@@ -85,6 +85,10 @@
NSDictionary *userInfo = response.notification.request.content.userInfo;
NSLog(@"User Info : %@", userInfo);
[self parseNotificationPayload:userInfo];
+ UITabBarController *main = (UITabBarController *)self.window.rootViewController;
+ [main setSelectedIndex:0];
+ UINavigationController *discover = (UINavigationController *)[main.viewControllers objectAtIndex:0];
+ [discover performSegueWithIdentifier:@"threadViewSegue" sender:discover];
completionHandler();
}