mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Search filters improvements
This commit is contained in:
@@ -156,6 +156,11 @@ public struct MessageHistoryEntryLocation: Equatable {
|
||||
public let index: Int
|
||||
public let count: Int
|
||||
|
||||
public init(index: Int, count: Int) {
|
||||
self.index = index
|
||||
self.count = count
|
||||
}
|
||||
|
||||
var predecessor: MessageHistoryEntryLocation? {
|
||||
if index == 0 {
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user