Fix member count updates in header

Issue #145
This commit is contained in:
N-Pex 2021-09-14 13:07:15 +02:00
parent 9fdeb57fcb
commit 8c33b7ea75

View file

@ -104,7 +104,7 @@ export default {
methods: {
onEvent(event) {
if (event.getRoomId() !== this.roomId) {
if (!this.room || event.getRoomId() !== this.room.roomId) {
return; // Not for this room
}
if (event.getType() == "m.room.member") {