diff --git a/ios/XMTPModule.swift b/ios/XMTPModule.swift index b3586a023..17c13e2ec 100644 --- a/ios/XMTPModule.swift +++ b/ios/XMTPModule.swift @@ -78,11 +78,8 @@ public class XMTPModule: Module { private var clients: [String: XMTP.Client] = [:] // A method to update the conversations - func updateClient(key: String, client: XMTP.Client?) { - if clients[key] == nil, let client { - ContentJson.initCodecs(client: client) - } - + func updateClient(key: String, client: XMTP.Client) { + ContentJson.initCodecs(client: client) clients[key] = client }