xmtp / xmtp-web

XMTP web SDKs and examples, including a React SDK and quickstart example app
https://xmtp.github.io/xmtp-web/
31 stars 12 forks source link

Bug: New conversation not appearing after wallet switch #163

Open fabriguespe opened 8 months ago

fabriguespe commented 8 months ago

Description

New conversations are not appearing after switching between addresses in MetaMask using XMTP.

Steps to Reproduce

  1. Sign in with address 1 in MetaMask, send a conversation to a random address.
  2. Log out, switch to address 2, and send a conversation to address 1.
  3. Refresh the app and observe the missing conversation.

Clearing the cache

https://github.com/xmtp/xmtp-web/assets/1447073/fbd0a396-d903-44d0-a19b-4fecf96ac636

fabriguespe commented 8 months ago

We found another bug related to this issue that I was able to reproduce using using v5.0.1 of @xmtp/react-sdk.

Steps to reproduce:

https://github.com/xmtp-labs/hq/assets/1447073/a61c862f-3f6b-45a1-bbd7-3c688bab1c5f

rygine commented 7 months ago

@fabriguespe is this the issue that affects bun?