From 32d9f6e83086537fe4b8f447b7955457b762372c Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 27 Apr 2021 15:01:35 +0200 Subject: [PATCH] expose inviter user id --- src/domain/session/room/InviteViewModel.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/domain/session/room/InviteViewModel.js b/src/domain/session/room/InviteViewModel.js index b31f79ad..57691a34 100644 --- a/src/domain/session/room/InviteViewModel.js +++ b/src/domain/session/room/InviteViewModel.js @@ -137,6 +137,10 @@ class RoomMemberViewModel { this._platform = platform; } + get id() { + return this._member.userId; + } + get name() { return this._member.name; }