Satellite-im / Core-PWA

Satellite Core is a decentralized p2p voice, video, and text chat application and is under heavy development. Check back soon for updates, or check out the latest version at https://core-dev.satellite.im
https://core-dev.satellite.im
Other
40 stars 16 forks source link

Crash when User removes friend while in active chat with them #5469

Closed phillsatellite closed 1 year ago

phillsatellite commented 2 years ago

Device: Desktop

Browser: Chrome

Issue: If user adds a friend, send messages back and fourth then removes them they will get a crash, if they refresh the browser and re add that friend they will not be able to send any messages but they will still receive them

crash description - undefined is not an object (evaluating '_vm.user.did')

How to replicate:

  1. Add a user
  2. Send some messages back and fourth
  3. Remove user
  4. Refresh
  5. Add them again
  6. Try messaging

Screen recording:

https://user-images.githubusercontent.com/93608357/200026585-99e9ceaa-c0c5-4b4e-9da5-e44b20e7582a.mov