mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-06 13:12:49 +00:00
Fix resource comparison
This commit is contained in:
@@ -374,7 +374,7 @@ public final class CloudStickerPackThumbnailMediaResource: TelegramMediaResource
|
||||
}
|
||||
|
||||
public func isEqual(to: MediaResource) -> Bool {
|
||||
if let to = to as? CloudPeerPhotoSizeMediaResource {
|
||||
if let to = to as? CloudStickerPackThumbnailMediaResource {
|
||||
return self.datacenterId == to.datacenterId && self.volumeId == to.volumeId && self.localId == to.localId
|
||||
} else {
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user