summaryrefslogtreecommitdiff
path: root/Juick/ViewControllers
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-03-29 09:42:48 +0300
committerGravatar Vitaly Takmazov2019-03-29 09:42:48 +0300
commit29c5e93f4bd433bea7402a362fe1c812a43c3891 (patch)
treee93bd9e2287a2e878c2ad296c07d7e4d27fd2768 /Juick/ViewControllers
parent1ff58ba417592f9034acaaa74c7f3435dee7f0d3 (diff)
cleanupPushedData
Diffstat (limited to 'Juick/ViewControllers')
-rw-r--r--Juick/ViewControllers/DialogsViewController.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/Juick/ViewControllers/DialogsViewController.m b/Juick/ViewControllers/DialogsViewController.m
index c2296dd..1e5d3c2 100644
--- a/Juick/ViewControllers/DialogsViewController.m
+++ b/Juick/ViewControllers/DialogsViewController.m
@@ -70,8 +70,7 @@
NSString *uname;
if ([[AppDelegate shared].pushedUname length] > 0) {
uname = [[AppDelegate shared].pushedUname copy];
- [AppDelegate shared].pushedThread = nil;
- [AppDelegate shared].pushedUname = nil;
+ [[AppDelegate shared] cleanupPushedData];
} else {
Chat *chat = [self.chats objectAtIndex:[self.tableView indexPathForSelectedRow].row];
uname = chat.uname;