Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ui): Consider banned rooms as rooms we left in the non-left rooms…
… matcher Recently we started to differentiate between rooms we've been banned from from rooms we have left on our own. Sadly the non-left rooms matcher only checked if the room state is not equal to the Left state. This then accidentally moved all the banned rooms to be considered as non-left. We replace the single if expression with a match and list all the states, this way we're going to be notified by the compiler that we need to consider any new states we add in the future.
- Loading branch information