Skip to content

Commit

Permalink
should fix codec registration
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Sep 26, 2023
1 parent ec66cc4 commit 9652871
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/XMTPModule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ public class XMTPModule: Module {
private var clients: [String: XMTP.Client] = [:]

// A method to update the conversations
func updateClient(key: String, client: XMTP.Client?) {
func updateClient(key: String, client: XMTP.Client) {
ContentJson.initCodecs(client: client)
clients[key] = client
ContentJson.initCodecs(client: clients[key])
}

// A method to retrieve a conversation
Expand Down

0 comments on commit 9652871

Please sign in to comment.