update comments for Invite updates
This commit is contained in:
parent
6bb9140720
commit
51d13fd8d2
1 changed files with 1 additions and 2 deletions
|
@ -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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue