Skip to content

Commit a015249

Browse files
author
Isaac
committed
Roll back synchronize peer read state
1 parent a9798ac commit a015249

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

submodules/TelegramCore/Sources/State/SynchronizePeerReadState.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,7 @@ private func validatePeerReadState(network: Network, postbox: Postbox, stateMana
178178
if case let .idBased(updatedMaxIncomingReadId, _, _, updatedCount, updatedMarkedUnread) = readState {
179179
if updatedCount != 0 || updatedMarkedUnread {
180180
if localMaxIncomingReadId > updatedMaxIncomingReadId {
181-
if !"".isEmpty {
182-
return .retry
183-
}
181+
return .retry
184182
}
185183
}
186184
}

0 commit comments

Comments
 (0)