mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-19 04:39:36 +00:00
15 lines
326 B
Swift
15 lines
326 B
Swift
import Foundation
|
|
|
|
public struct MessageHistoryHole: Equatable {
|
|
let maxIndex: MessageIndex
|
|
let min: MessageId.Id
|
|
|
|
var id: MessageId {
|
|
return maxIndex.id
|
|
}
|
|
}
|
|
|
|
public func ==(lhs: MessageHistoryHole, rhs: MessageHistoryHole) -> Bool {
|
|
return lhs.maxIndex == rhs.maxIndex && lhs.min == rhs.min
|
|
}
|