From c346512553e9ca9807675ae0ee79f64baa02dfd2 Mon Sep 17 00:00:00 2001 From: Peter <> Date: Mon, 1 Jul 2019 23:31:33 +0300 Subject: [PATCH] Cleanup --- .../TelegramCore/PendingMessageUploadedContent.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TelegramCore/TelegramCore/PendingMessageUploadedContent.swift b/submodules/TelegramCore/TelegramCore/PendingMessageUploadedContent.swift index 0b178fbbc7..c48005d56e 100644 --- a/submodules/TelegramCore/TelegramCore/PendingMessageUploadedContent.swift +++ b/submodules/TelegramCore/TelegramCore/PendingMessageUploadedContent.swift @@ -98,7 +98,7 @@ func mediaContentToUpload(network: Network, postbox: Postbox, auxiliaryMethods: if peerId.namespace == Namespaces.Peer.SecretChat { for attribute in file.attributes { if case let .Sticker(sticker) = attribute { - if let packReference = sticker.packReference { + if let _ = sticker.packReference { return .single(.content(PendingMessageUploadedContentAndReuploadInfo(content: PendingMessageUploadedContent.text(text), reuploadInfo: nil))) } }