Files
ghostgram/submodules/Postbox/Sources/ChatListHole.swift

18 lines
435 B
Swift

import Foundation
public struct ChatListHole: Hashable, CustomStringConvertible {
public let index: MessageIndex
public init(index: MessageIndex) {
self.index = index
}
public var description: String {
return "ChatListHole(\(self.index.id), \(self.index.timestamp))"
}
public static func <(lhs: ChatListHole, rhs: ChatListHole) -> Bool {
return lhs.index < rhs.index
}
}