You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
…nRoom
tracker
Bug is a side effect of User friendly URLs #18. The commit changed Room
subscription based on room id to room name.. It created a new room
subscription, but didn't remove the old name from the RoomManager's
openedRooms cache. Whenever the tracker ran, an 'undefined' room
was returned because the old room name was invalid.
Adds code that observes room name changes, closes the old room, and
opens the new room via the RoomManager. There is still a small bug
where the room name changed message is not displayed to the user who changed
the name probably due to the message stream subscribing after the message was sent.
To replicate:
Renaming the room leaves the old room name in RoomManager openedRooms cache. On tracker invalidation, openedRooms are retrieved but invalid room returns undefined.
The text was updated successfully, but these errors were encountered: