Merge pull request #907 from mpretty-cyro/fix/incorrect-screen-popping

Fixed an issue where the conversation screen was dismissed incorrectly
This commit is contained in:
Morgan Pretty 2023-09-22 11:33:42 +10:00 committed by GitHub
commit 134d257faf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -569,6 +569,10 @@ final class ConversationVC: BaseVC, SessionUtilRespondingViewController, Convers
let threadId: String = viewModel.threadData.threadId
if
(
self.navigationController == nil ||
self.navigationController?.viewControllers.contains(self) == false
) &&
viewModel.threadData.threadIsNoteToSelf == false &&
viewModel.threadData.threadShouldBeVisible == false &&
!SessionUtil.conversationInConfig(