From 29c5e93f4bd433bea7402a362fe1c812a43c3891 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 29 Mar 2019 09:42:48 +0300 Subject: cleanupPushedData --- Juick/ViewControllers/DialogsViewController.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Juick/ViewControllers/DialogsViewController.m') 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; -- cgit v1.2.3