Web3 Talk should recognize the correct account that is used to connect to the site
srirambv opened this issue · 3 comments
srirambv commented
Description
Visiting a Web3 talk room automatically recognizes only the first account. If the user connects to a different account it isn't automatically updated
Steps to reproduce
- Create a Wallet on Beta and host a Web3 call using that wallet
- Create a Wallet on Nightly, add 2 accounts to the wallet
- Open the Web3 talk link in Nightly, automatically detects the first account of the wallet and shows the address on the page
- Click on
Join web3 call
- Brings up the connect account modal on wallet
- Select the 2nd account and connect to the site
- Page continues to show the account 1 address
- Click Join Web3 call, Shows
Error signing message
but console throwsinvalid account
message - Reload the page
- Now shows the correct account address that is connected
- Click on Join web3 call
- Brings up the message sign prompt to join the call and it works
Actual Result
Invalid.Account.mp4
Expected Result
Should detect the correct account when showing the page so user doesn't run into this issue
Additional Info
cc: @mrose17 @johnhalbert
mrose17 commented
Thanks! The STR also finds the problem for me. It looks like we're missing an event on the address change, but i'm still looking into it.
johnhalbert commented
@srirambv this is ready for re-test.
srirambv commented
This is fixed. Able to see the correct account that is selected to connect to the site