no need to emit, timeline finds out by themselves with remote echo

This commit is contained in:
Bruno Windels 2021-05-31 14:03:22 +02:00
parent 606d40c9d4
commit 5d35caf85f

View file

@ -124,8 +124,6 @@ export class SendQueue {
for (const relatedPE of relatedEventWithoutRemoteId) {
relatedPE.setRelatedEventId(remoteId);
await this._tryUpdateEventWithTxn(relatedPE, txn);
// emit that we now have a related remote id
// this._pendingEvents.update(relatedPE);
}
return relatedEventWithoutRemoteId;
}