mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Fix media fetch cancellation
This commit is contained in:
@@ -11,6 +11,15 @@ public struct MessageReference: PostboxCoding, Hashable, Equatable {
|
||||
return peer
|
||||
}
|
||||
}
|
||||
|
||||
public var id: MessageId? {
|
||||
switch content {
|
||||
case .none:
|
||||
return nil
|
||||
case let .message(_, id, _, _, _):
|
||||
return id
|
||||
}
|
||||
}
|
||||
|
||||
public var timestamp: Int32? {
|
||||
switch content {
|
||||
|
||||
Reference in New Issue
Block a user