Skip to content

Commit

Permalink
fix the android json error
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Aug 22, 2024
1 parent 6468654 commit d676e9d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ class XMTPModule : Module() {
withContext(Dispatchers.IO) {
val client = clients[inboxId] ?: throw XMTPException("No client")
val inboxState = client.inboxState(refreshFromNetwork)
InboxStateWrapper.encodeToObj(inboxState)
InboxStateWrapper.encode(inboxState)
}
}

Expand Down
2 changes: 0 additions & 2 deletions example/src/tests/groupTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ test('can revoke all other installations', async () => {
enableV3: true,
dbEncryptionKey: keyBytes,
})
await alix.dropLocalDatabaseConnection()
await alix.deleteLocalDatabase()

const alix2 = await Client.create(alixWallet, {
Expand Down Expand Up @@ -2116,7 +2115,6 @@ test('can revoke all other installations', async () => {
// `client 2 should see 2 members`
// )

// await client2.dropLocalDatabaseConnection()
// await client2.deleteLocalDatabase()

// // Recreating a client with wallet 2 (new installation!)
Expand Down

0 comments on commit d676e9d

Please sign in to comment.