mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-11 04:27:40 +01:00
update comments for Invite updates
This commit is contained in:
parent
6bb9140720
commit
51d13fd8d2
@ -165,10 +165,9 @@ export class Invite extends EventEmitter {
|
|||||||
}
|
}
|
||||||
this.emit("change");
|
this.emit("change");
|
||||||
} else {
|
} else {
|
||||||
|
// no emit change, adding to the collection is done by sync
|
||||||
this._inviteData = changes.inviteData;
|
this._inviteData = changes.inviteData;
|
||||||
this._inviter = changes.inviter;
|
this._inviter = changes.inviter;
|
||||||
// sync will add the invite to the collection by
|
|
||||||
// calling session.addInviteAfterSync
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user