Autoremove and forum improvements

This commit is contained in:
Ali
2022-11-28 16:15:02 +04:00
parent e525215e50
commit 6b4cf4b578
17 changed files with 361 additions and 105 deletions

View File

@@ -2371,7 +2371,11 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G
}
}, openUrl: { [weak self] url, concealed, _, message in
if let strongSelf = self {
strongSelf.openUrl(url, concealed: concealed, message: message)
var skipConcealedAlert = false
if let author = message?.author, author.isVerified {
skipConcealedAlert = true
}
strongSelf.openUrl(url, concealed: concealed, skipConcealedAlert: skipConcealedAlert, message: message)
}
}, shareCurrentLocation: { [weak self] in
if let strongSelf = self {