pass in userId for kickDetails

This commit is contained in:
Bruno Windels 2021-05-04 13:33:44 +02:00
parent 2cfe7034e8
commit c2716a061b

View File

@ -195,7 +195,7 @@ export class Room extends EventEmitter {
if (newKeys) { if (newKeys) {
log.set("newKeys", newKeys.length); log.set("newKeys", newKeys.length);
} }
let summaryChanges = this._summary.data.applySyncResponse(roomResponse, membership); let summaryChanges = this._summary.data.applySyncResponse(roomResponse, membership, this._user.id);
if (membership === "join" && invite) { if (membership === "join" && invite) {
summaryChanges = summaryChanges.applyInvite(invite); summaryChanges = summaryChanges.applyInvite(invite);
} }