Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix finding matrix room that is already joined (home-assistant#67967)
After some debugging, it seems room.canonical_alias contains the room alias that matches the room_id_or_alias value but is not contained in room.aliases (which is empty). As a result, the matrix component thought the room wasn't alread joined, joins again, and this replaces the previous room which had the listener. This resulted in the component callback not being called for new messages in the room. This fixes home-assistant#66372
- Loading branch information