diff --git a/src/matrix/room/sending/SendQueue.js b/src/matrix/room/sending/SendQueue.js index 287831e8..5fa6dca6 100644 --- a/src/matrix/room/sending/SendQueue.js +++ b/src/matrix/room/sending/SendQueue.js @@ -111,6 +111,8 @@ export class SendQueue { for (const relatedPE of relatedEvents) { relatedPE.setRelatedEventId(pendingEvent.remoteId); await this._tryUpdateEventWithTxn(relatedPE, txn); + // emit that we now have a related remote id + this._pendingEvents.update(relatedPE) } } catch (err) { txn.abort();