diff --git a/Signal/src/ViewControllers/HomeView/HomeViewController.m b/Signal/src/ViewControllers/HomeView/HomeViewController.m index afb394f81..cc0ca55d1 100644 --- a/Signal/src/ViewControllers/HomeView/HomeViewController.m +++ b/Signal/src/ViewControllers/HomeView/HomeViewController.m @@ -1207,13 +1207,16 @@ NSString *const kArchivedConversationsReuseIdentifier = @"kArchivedConversations return; } - // We do this synchronously if we're already on the main thread. DispatchMainThreadSafe(^{ ConversationViewController *conversationVC = [ConversationViewController new]; [conversationVC configureForThread:thread action:action focusMessageId:focusMessageId]; self.lastThread = thread; - [self.navigationController setViewControllers:@[ self, conversationVC ] animated:isAnimated]; + if (self.homeViewMode == HomeViewMode_Archive) { + [self.navigationController pushViewController:conversationVC animated:isAnimated]; + } else { + [self.navigationController setViewControllers:@[ self, conversationVC ] animated:isAnimated]; + } }); }