mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Various fixes
This commit is contained in:
@@ -670,10 +670,8 @@ func contextMenuForChatPresentationInterfaceState(chatPresentationInterfaceState
|
||||
if messages.count == 1 {
|
||||
for media in messages[0].media {
|
||||
if let file = media as? TelegramMediaFile {
|
||||
for attribute in file.attributes {
|
||||
if case let .Sticker(_, packInfo, _) = attribute, packInfo != nil {
|
||||
loadStickerSaveStatus = file.fileId
|
||||
}
|
||||
if file.isSticker {
|
||||
loadStickerSaveStatus = file.fileId
|
||||
}
|
||||
if loadStickerSaveStatus == nil {
|
||||
loadCopyMediaResource = file.resource
|
||||
|
||||
Reference in New Issue
Block a user