diff --git a/ios/XMTPModule.swift b/ios/XMTPModule.swift index b859ac946..2d478c4c0 100644 --- a/ios/XMTPModule.swift +++ b/ios/XMTPModule.swift @@ -63,19 +63,19 @@ public class XMTPModule: Module { func dropAllLocalDatabaseConnections() throws { for (_, client) in clients { // Call the drop method on each v3 client - if (!client.installationID.isEmpty) { - try client.dropLocalDatabaseConnection() - } + if (!client.installationID.isEmpty) { + try client.dropLocalDatabaseConnection() + } } } // A method to reconnect all dbs func reconnectAllLocalDatabaseConnections() async throws { for (_, client) in clients { - // Call the reconnect method on each v3 client - if (!client.installationID.isEmpty) { - try await client.reconnectLocalDatabase() - } + // Call the reconnect method on each v3 client + if (!client.installationID.isEmpty) { + try await client.reconnectLocalDatabase() + } } } }