mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-10 20:17:32 +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");
|
||||
} else {
|
||||
// no emit change, adding to the collection is done by sync
|
||||
this._inviteData = changes.inviteData;
|
||||
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