team113 / messenger

Open-source front-end part of messenger by team113
GNU Affero General Public License v3.0
14 stars 13 forks source link

Favorite `Chat` didn't get removed when `MyUser` was kicked from it #1008

Closed SleepySquash closed 3 weeks ago

SleepySquash commented 1 month ago

Summary

The following situation just happened: MyUser participated in a Chat they added to their favorites, and then someone has kicked the MyUser from it. The Chat remained in the list, MyUser could click on it, open it (and encounter an error). No matter what is happening, the Chat is still there. Only the cache clearing helps.

Steps to reproduce

  1. User A be in a favorite chat.
  2. User B be in the same chat.
  3. User B kicks User A from that chat.
  4. User A sees the message about being kicked, but the chat doesn't go away, it persists and stays there.

What is the current bug behavior?

Chat isn't removed.

What is the expected correct behavior?

Chat is removed.

SleepySquash commented 3 weeks ago

Can't reproduce.