don't add the pending event again if removed already, fixes #289
This commit is contained in:
parent
f976eeaf13
commit
9e697c6cbe
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ export class SendQueue {
|
|||
const pendingEvent = new PendingEvent({
|
||||
data,
|
||||
remove: () => this._removeEvent(pendingEvent),
|
||||
emitUpdate: () => this._pendingEvents.set(pendingEvent),
|
||||
emitUpdate: () => this._pendingEvents.update(pendingEvent),
|
||||
attachments
|
||||
});
|
||||
return pendingEvent;
|
||||
|
|
Reference in a new issue