Skip to content

Commit

Permalink
fix: codec not being registered
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Sep 26, 2023
1 parent e412cd0 commit ec66cc4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ios/XMTPModule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,8 @@ public class XMTPModule: Module {

// A method to update the conversations
func updateClient(key: String, client: XMTP.Client?) {
if clients[key] == nil, let 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 ec66cc4

Please sign in to comment.