From 473249a60d7abdf6768a921d4fde5bedbce6d5b7 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Tue, 14 Jan 2020 16:07:47 +0400 Subject: [PATCH] Cleanup --- submodules/Postbox/Sources/MessageHistoryFailedTable.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/submodules/Postbox/Sources/MessageHistoryFailedTable.swift b/submodules/Postbox/Sources/MessageHistoryFailedTable.swift index 057e785ba4..eb9c7fa676 100644 --- a/submodules/Postbox/Sources/MessageHistoryFailedTable.swift +++ b/submodules/Postbox/Sources/MessageHistoryFailedTable.swift @@ -42,7 +42,7 @@ final class MessageHistoryFailedTable: Table { self.updatedMessageIds.remove(id) } - func get(peerId:PeerId) -> [MessageId] { + func get(peerId: PeerId) -> [MessageId] { var ids:[MessageId] = [] self.valueBox.range(self.table, start: self.lowerBound(peerId: peerId), end: self.upperBound(peerId: peerId), keys: { key in @@ -72,4 +72,3 @@ final class MessageHistoryFailedTable: Table { self.updatedPeerIds.removeAll() } } -