Tag improvements

This commit is contained in:
Isaac
2024-01-26 21:09:01 +01:00
parent 53ba8afced
commit e579de45cd
4 changed files with 35 additions and 18 deletions

View File

@@ -287,7 +287,9 @@ func canReplyInChat(_ chatPresentationInterfaceState: ChatPresentationInterfaceS
break
}
if case let .replyThread(replyThreadMessage) = chatPresentationInterfaceState.chatLocation, replyThreadMessage.peerId == accountPeerId {
return false
if replyThreadMessage.threadId != accountPeerId.toInt64() {
return false
}
}
if let channel = peer as? TelegramChannel, channel.flags.contains(.isForum) {