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:
@@ -368,15 +368,12 @@ public final class ChatTitleView: UIView, NavigationBarTitleView {
|
||||
var inputActivitiesAllowed = true
|
||||
if let titleContent = self.titleContent {
|
||||
switch titleContent {
|
||||
case let .peer(peerView, _, _, isScheduledMessages, _, customMessageCount, _):
|
||||
case let .peer(peerView, _, _, isScheduledMessages, _, _, _):
|
||||
if let peer = peerViewMainPeer(peerView) {
|
||||
if peer.id == self.context.account.peerId || isScheduledMessages || peer.id.isReplies {
|
||||
inputActivitiesAllowed = false
|
||||
}
|
||||
}
|
||||
if customMessageCount != nil {
|
||||
inputActivitiesAllowed = false
|
||||
}
|
||||
case .replyThread:
|
||||
inputActivitiesAllowed = true
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user