diff --git a/src/matrix/room/RoomSummary.js b/src/matrix/room/RoomSummary.js index 9e9c99dd..f9848158 100644 --- a/src/matrix/room/RoomSummary.js +++ b/src/matrix/room/RoomSummary.js @@ -163,10 +163,7 @@ export class RoomSummary { if (this._data.canonicalAlias) { return this._data.canonicalAlias; } - if (Array.isArray(this._data.heroes) && this._data.heroes.length !== 0) { - return this._data.heroes.join(", "); - } - return this._data.roomId; + return null; } get heroes() {