mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Refactoring
This commit is contained in:
@@ -247,7 +247,6 @@ private func pushPeerReadState(network: Network, postbox: Postbox, stateManager:
|
||||
}
|
||||
return pushSignal
|
||||
|> mapError { _ -> PeerReadStateValidationError in
|
||||
return .retry
|
||||
}
|
||||
|> mapToSignal { _ -> Signal<PeerReadState, PeerReadStateValidationError> in
|
||||
return .complete()
|
||||
@@ -287,7 +286,6 @@ private func pushPeerReadState(network: Network, postbox: Postbox, stateManager:
|
||||
|
||||
return pushSignal
|
||||
|> mapError { _ -> PeerReadStateValidationError in
|
||||
return .retry
|
||||
}
|
||||
|> mapToSignal { _ -> Signal<PeerReadState, PeerReadStateValidationError> in
|
||||
return .complete()
|
||||
|
||||
Reference in New Issue
Block a user