brevity
This commit is contained in:
parent
f6957278c3
commit
1258aaee7c
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ export class Room extends EventEmitter {
|
||||||
let emitChange = false;
|
let emitChange = false;
|
||||||
if (summaryChanges) {
|
if (summaryChanges) {
|
||||||
// if we joined the room, we can't have an invite anymore
|
// if we joined the room, we can't have an invite anymore
|
||||||
if (summaryChanges.membership === "join" && this._summary.data.membership !== "join") {
|
if (summaryChanges.membership === "join" && this.membership !== "join") {
|
||||||
this._invite = null;
|
this._invite = null;
|
||||||
}
|
}
|
||||||
this._summary.applyChanges(summaryChanges);
|
this._summary.applyChanges(summaryChanges);
|
||||||
|
|
Reference in a new issue