diff --git a/src/matrix/room/Room.js b/src/matrix/room/Room.js index 88552ca0..671db2a7 100644 --- a/src/matrix/room/Room.js +++ b/src/matrix/room/Room.js @@ -266,6 +266,9 @@ export class Room extends EventEmitter { // fetch new members while we have txn open, // but don't make any in-memory changes yet let heroChanges; + // if any hero changes their display name, the summary in the room response + // is also updated, which will trigger a RoomSummary update + // and make summaryChanges non-falsy here if (summaryChanges?.needsHeroes) { // room name disappeared, open heroes if (!this._heroes) {