mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Fix non-interactive embed preview edge case
This commit is contained in:
@@ -17995,8 +17995,11 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G
|
||||
}
|
||||
} else if let embedUrl = content.embedUrl, !embedUrl.isEmpty {
|
||||
progress?.set(.single(false))
|
||||
let _ = self.controllerInteraction?.openMessage(message, .default)
|
||||
return
|
||||
if let controllerInteraction = self.controllerInteraction {
|
||||
if controllerInteraction.openMessage(message, .default) {
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user