brave/brave-talk

Clear user selected NFT avatar when tab is closed

srirambv opened this issue · 1 comments

Description

User selected NFT avatar is retained after the call causing wrong NFT being shown for the user when creating a NFT gated Web3 call

Steps to Reproduce

  1. Create a Web3 Talk room using Ethereum NFT
  2. Use the Ethereum NFT as avatar when creating the call
  3. Close the tab and open a new one and create a Solana NFT call
  4. Continues to show the Ethereum NFT on all subsequent calls

Actual Result

NFT is cached so ETH/SOL NFTs are shown when creating a NFT gated call on a different network

Expected Result

Clear NFT avatar when user closes the tab so user is able to select NFT avatar for each individual call

Additional Information

cc: @mrose17 @hadiamjad

Duplicate of #966