From 5d35caf85f1c7ff509b18b2ae30c0122a9be0eaf Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 31 May 2021 14:03:22 +0200 Subject: [PATCH] no need to emit, timeline finds out by themselves with remote echo --- src/matrix/room/sending/SendQueue.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/matrix/room/sending/SendQueue.js b/src/matrix/room/sending/SendQueue.js index 1c5415e5..e3c6b430 100644 --- a/src/matrix/room/sending/SendQueue.js +++ b/src/matrix/room/sending/SendQueue.js @@ -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; }