Merge branch '174-browser-not-remembering-rooms-associated-with-a-guest-identity' into 'dev'
Make sure to reload rooms on self membership updates Closes #174 See merge request keanuapp/keanuapp-weblite!73
This commit is contained in:
commit
d39f260261
3 changed files with 3 additions and 3 deletions
|
|
@ -52,7 +52,7 @@
|
|||
<v-list-item-avatar size="40" color="#e0e0e0">
|
||||
<v-img :src="room.avatar" />
|
||||
</v-list-item-avatar>
|
||||
<div class="room-list-notification-count">
|
||||
<div class="room-list-notification-count" v-if="notificationCount(room) > 0">
|
||||
{{ notificationCount(room) }}
|
||||
</div>
|
||||
<v-list-item-content>
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -391,8 +391,8 @@ export default {
|
|||
// Invitation. Need to call "recalculate" to pick
|
||||
// up room name, not sure why exactly.
|
||||
room.recalculate();
|
||||
this.reloadRooms();
|
||||
}
|
||||
this.reloadRooms();
|
||||
},
|
||||
|
||||
onSessionLoggedOut() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue