You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that getUserContactV2 looks for v2 user contacts. However, getUserContacts might return a cached list of user contacts that only contains v1 contacts with the given wallet address. At this point, the method breaks as it expects at least one contact to be v2.
Expected behavior
The user can start a conversation with any wallet address.
Steps to reproduce the bug
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Starting a new conversation might throw an exception when the peer's contact is cached.
The method that throws when starting a conversation:
xmtp-flutter/lib/src/conversation/conversation_v2.dart
Line 52 in 9075969
Thrown error
It seems that
getUserContactV2
looks for v2 user contacts. However,getUserContacts
might return a cached list of user contacts that only contains v1 contacts with the given wallet address. At this point, the method breaks as it expects at least one contact to be v2.Expected behavior
The user can start a conversation with any wallet address.
Steps to reproduce the bug
No response
The text was updated successfully, but these errors were encountered: