Fix critical bug

pull/56/head
Niels Andriesse 6 years ago
parent 2dd0634a62
commit ea9a8fb001

@ -97,7 +97,7 @@ public final class LokiStorageAPI : LokiDotNetAPI {
}
return deviceLinks
}.recover { _ -> Promise<Set<DeviceLink>> in
// If we error out at any time then fallback to the device links we have in storage
// If we error out at any time then fall back to the device links we have in storage
var deviceLinks = Set<DeviceLink>()
storage.dbReadConnection.read { transaction in
deviceLinks = storage.getDeviceLinks(for: hexEncodedPublicKey, in: transaction)

Loading…
Cancel
Save