From 703c89e27628d29dc75e0919f7088cd92f989c41 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 31 Aug 2020 16:07:29 +0200 Subject: [PATCH] make membership available on member --- src/matrix/room/members/RoomMember.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/matrix/room/members/RoomMember.js b/src/matrix/room/members/RoomMember.js index 0ce205a5..954de0a4 100644 --- a/src/matrix/room/members/RoomMember.js +++ b/src/matrix/room/members/RoomMember.js @@ -67,6 +67,10 @@ export class RoomMember { }); } + get membership() { + return this._data.membership; + } + /** * @return {String?} the display name, if any */