mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Refactoring
This commit is contained in:
@@ -913,9 +913,7 @@ final class ChatMediaInputNode: ChatInputNode {
|
||||
return
|
||||
}
|
||||
|
||||
let _ = (context.account.postbox.transaction { transaction -> StickerPackCollectionInfo? in
|
||||
return (transaction.getPeerCachedData(peerId: peerId) as? CachedChannelData)?.stickerPack
|
||||
}
|
||||
let _ = (context.engine.data.get(TelegramEngine.EngineData.Item.Peer.StickerPack(id: peerId))
|
||||
|> deliverOnMainQueue).start(next: { info in
|
||||
guard let strongSelf = self else {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user