fix dm detection and conf call code with lazy loading
This commit is contained in:
parent
7ea913ccec
commit
d87d34030a
4 changed files with 29 additions and 27 deletions
|
@ -173,8 +173,7 @@ class RoomListStore extends Store {
|
|||
if (!this._matrixClient) return;
|
||||
|
||||
this._matrixClient.getRooms().forEach((room, index) => {
|
||||
const me = room.getMember(this._matrixClient.credentials.userId);
|
||||
const membership = me ? me.membership : room.getSyncedMembership();
|
||||
const membership = room.getMyMembership(this._matrixClient.getUserId());
|
||||
|
||||
if (membership == "invite") {
|
||||
lists["im.vector.fake.invite"].push(room);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue