-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[BUG] Delete room broken on client side #11897
Description
Description:
When deleting a room the browser still shows the room. Only the subscription gets deleted on the client side.
After creating a new room with the same name it shows the old room, including the messages and the open tab.
Steps to reproduce:
- create room
- write message
- delete room
- recreate with the same name
Expected behavior:
The room gets deleted and is not shown in the client anymore (go to home screen e.g.)
When creating a new room with the same name, a new empty room is shown.
Actual behavior:
After recreating the room with same name

Same room in different browser (safari)

Server Setup Information:
Tested on Chrome browser.
+-----------------------------------------------+
| SERVER RUNNING |
+-----------------------------------------------+
| |
| Rocket.Chat Version: 0.69.0-develop |
| NodeJS Version: 8.11.3 - x64 |
| Platform: darwin |
| Process Port: 28694 |
| Site URL: http://localhost:3000/ |
| ReplicaSet OpLog: Enabled |
| Commit Hash: 135c6f8 |
| Commit Branch: develop |
| |
+-----------------------------------------------+
Additional context
This bug is only on client side.
The deleted room is not shown and the recreated room is empty in an additional incognito window
