From f95151ac8deb483f18f4ca42fbf30dee00b83957 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Thu, 26 Apr 2018 14:47:32 -0400 Subject: [PATCH] Don't present multiple converastion views ever. --- Signal/src/ViewControllers/HomeView/HomeViewController.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Signal/src/ViewControllers/HomeView/HomeViewController.m b/Signal/src/ViewControllers/HomeView/HomeViewController.m index 8974bd59a..17332bce7 100644 --- a/Signal/src/ViewControllers/HomeView/HomeViewController.m +++ b/Signal/src/ViewControllers/HomeView/HomeViewController.m @@ -928,6 +928,9 @@ NSString *const kArchivedConversationsReuseIdentifier = @"kArchivedConversations [mvc configureForThread:thread action:action]; self.lastThread = thread; + // Never push more than one conversation view controller at a time. + [self.navigationController popToViewController:self animated:NO]; + [self pushTopLevelViewController:mvc animateDismissal:YES animatePresentation:YES]; }); }