Fixed an issue where the conversation screen was dismissed incorrectly
Fixed a bug where going to the settings screen in a conversation with no messages would pop to the conversation list
This commit is contained in:
parent
67ab1e5194
commit
8cbd318cca
|
@ -569,6 +569,10 @@ final class ConversationVC: BaseVC, SessionUtilRespondingViewController, Convers
|
||||||
let threadId: String = viewModel.threadData.threadId
|
let threadId: String = viewModel.threadData.threadId
|
||||||
|
|
||||||
if
|
if
|
||||||
|
(
|
||||||
|
self.navigationController == nil ||
|
||||||
|
self.navigationController?.viewControllers.contains(self) == false
|
||||||
|
) &&
|
||||||
viewModel.threadData.threadIsNoteToSelf == false &&
|
viewModel.threadData.threadIsNoteToSelf == false &&
|
||||||
viewModel.threadData.threadShouldBeVisible == false &&
|
viewModel.threadData.threadShouldBeVisible == false &&
|
||||||
!SessionUtil.conversationInConfig(
|
!SessionUtil.conversationInConfig(
|
||||||
|
|
Loading…
Reference in New Issue