mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Support admins with empty rights
This commit is contained in:
@@ -322,6 +322,13 @@ final class AuthorizedApplicationContext {
|
||||
if let forwardInfo = firstMessage.forwardInfo, forwardInfo.flags.contains(.isImported) {
|
||||
return
|
||||
}
|
||||
for media in firstMessage.media {
|
||||
if let action = media as? TelegramMediaAction {
|
||||
if case .messageAutoremoveTimeoutUpdated = action.action {
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if chatIsVisible {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user