mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Roll back synchronize peer read state
This commit is contained in:
parent
a9798ac925
commit
a0152492eb
@ -178,9 +178,7 @@ private func validatePeerReadState(network: Network, postbox: Postbox, stateMana
|
|||||||
if case let .idBased(updatedMaxIncomingReadId, _, _, updatedCount, updatedMarkedUnread) = readState {
|
if case let .idBased(updatedMaxIncomingReadId, _, _, updatedCount, updatedMarkedUnread) = readState {
|
||||||
if updatedCount != 0 || updatedMarkedUnread {
|
if updatedCount != 0 || updatedMarkedUnread {
|
||||||
if localMaxIncomingReadId > updatedMaxIncomingReadId {
|
if localMaxIncomingReadId > updatedMaxIncomingReadId {
|
||||||
if !"".isEmpty {
|
return .retry
|
||||||
return .retry
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user