diff --git a/src/matrix/room/BaseRoom.js b/src/matrix/room/BaseRoom.js index 441146fb..7865723b 100644 --- a/src/matrix/room/BaseRoom.js +++ b/src/matrix/room/BaseRoom.js @@ -455,6 +455,10 @@ export class BaseRoom extends EventEmitter { return this._summary.data.membership; } + get isDirectMessage() { + return this._summary.data.isDirectMessage; + } + isDirectMessageForUserId(userId) { if (this._summary.data.dmUserId === userId) { return true;