forked from mystiq/hydrogen-web
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({
|
const pendingEvent = new PendingEvent({
|
||||||
data,
|
data,
|
||||||
remove: () => this._removeEvent(pendingEvent),
|
remove: () => this._removeEvent(pendingEvent),
|
||||||
emitUpdate: () => this._pendingEvents.set(pendingEvent),
|
emitUpdate: () => this._pendingEvents.update(pendingEvent),
|
||||||
attachments
|
attachments
|
||||||
});
|
});
|
||||||
return pendingEvent;
|
return pendingEvent;
|
||||||
|
|
Loading…
Reference in a new issue