Make sure to reload rooms on self membership updates

This commit is contained in:
N Pex 2022-04-20 14:16:01 +00:00
parent 315e3f6bd5
commit 5882eef0db
3 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
export default {
computed: {
user() {
if (!this.$matrix.matrixClient) {
if (!this.$matrix.ready) {
return null;
}
return this.$matrix.matrixClient.getUser(this.$matrix.currentUserId);