Topic improvements

This commit is contained in:
Ali
2022-11-07 18:47:20 +04:00
parent 3fde9cf033
commit 130c9264e1
11 changed files with 76 additions and 33 deletions

View File

@@ -151,8 +151,8 @@ func inputPanelForChatPresentationIntefaceState(_ chatPresentationInterfaceState
case .member:
isMember = true
case .left:
if case .replyThread = chatPresentationInterfaceState.chatLocation {
if !channel.flags.contains(.joinToSend) {
if case let .replyThread(message) = chatPresentationInterfaceState.chatLocation {
if !message.isForumPost && !channel.flags.contains(.joinToSend) {
isMember = true
}
}