Don't remove room from store on leave
This commit is contained in:
parent
379d733d33
commit
381ab6d84e
5 changed files with 120 additions and 641 deletions
|
|
@ -458,7 +458,7 @@ export default {
|
|||
return this.fullyReadMarker || this.room.getEventReadUpTo(this.$matrix.currentUserId, false);
|
||||
},
|
||||
fullyReadMarker() {
|
||||
const readEvent = this.room.getAccountData("m.fully_read");
|
||||
const readEvent = this.room && this.room.getAccountData("m.fully_read");
|
||||
if (readEvent) {
|
||||
return readEvent.getContent().event_id;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue