mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Various fixes
This commit is contained in:
@@ -281,10 +281,12 @@ private func canViewReadStats(message: Message, participantCount: Int?, isMessag
|
||||
}
|
||||
|
||||
func canReplyInChat(_ chatPresentationInterfaceState: ChatPresentationInterfaceState, accountPeerId: PeerId) -> Bool {
|
||||
if case let .customChatContents(contents) = chatPresentationInterfaceState.subject, case .hashTagSearch = contents.kind {
|
||||
return false
|
||||
}
|
||||
if case .customChatContents = chatPresentationInterfaceState.chatLocation {
|
||||
return true
|
||||
}
|
||||
|
||||
guard let peer = chatPresentationInterfaceState.renderedPeer?.peer else {
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user