mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
fallback swift 5.0 [skip ci]
This commit is contained in:
parent
fe406cd27c
commit
817eca15e8
@ -1115,7 +1115,7 @@ public final class AccountViewTracker {
|
|||||||
return account.postbox.transaction { transaction -> Void in
|
return account.postbox.transaction { transaction -> Void in
|
||||||
for result in results {
|
for result in results {
|
||||||
switch result {
|
switch result {
|
||||||
case let .stickerSet(_, _, documents):
|
case let .stickerSet(_, _, documents)?:
|
||||||
for document in documents {
|
for document in documents {
|
||||||
if let file = telegramMediaFileFromApiDocument(document) {
|
if let file = telegramMediaFileFromApiDocument(document) {
|
||||||
if transaction.getMedia(file.fileId) != nil {
|
if transaction.getMedia(file.fileId) != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user