diff --git a/src/matrix/room/sending/PendingEvent.js b/src/matrix/room/sending/PendingEvent.js index 3d0c3fe1..ae51f457 100644 --- a/src/matrix/room/sending/PendingEvent.js +++ b/src/matrix/room/sending/PendingEvent.js @@ -197,6 +197,7 @@ export class PendingEvent { if (isTxnId(this._data.redacts)) { return this._data.redacts; } + return null; } setRelatedEventId(eventId) {