Rocket.Chat
Rocket.Chat copied to clipboard
Rename channel/group throws error
To replicate:
- create a channel c1
- rename channel c2
- notice url is wrong and room name disappears
- click on c2 channel in the SideNav.
- console error: TypeError: Cannot read property '_id' of undefined
- Rooms no longer load properly
Renaming the room leaves the old room name in RoomManager openedRooms cache. On tracker invalidation, openedRooms are retrieved but invalid room returns undefined.
Fixed via https://github.com/RocketChat/Rocket.Chat/pull/570