Skip to content

Commit

Permalink
spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
nmalzieu committed Aug 9, 2024
1 parent dd9fb5d commit 950976a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ios/XMTPModule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
}
}
Expand Down

0 comments on commit 950976a

Please sign in to comment.