From 2b5dcff836ae596c666dbafe1a23eb8e6215c7ef Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 27 May 2021 09:11:13 +0200 Subject: [PATCH] consistent naming --- src/matrix/room/timeline/persistence/RelationWriter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/matrix/room/timeline/persistence/RelationWriter.js b/src/matrix/room/timeline/persistence/RelationWriter.js index 144ea40d..45716d04 100644 --- a/src/matrix/room/timeline/persistence/RelationWriter.js +++ b/src/matrix/room/timeline/persistence/RelationWriter.js @@ -37,9 +37,9 @@ export class RelationWriter { return; } - _applyRelation(sourceEntry, target, log) { + _applyRelation(sourceEntry, targetEntry, log) { if (sourceEntry.eventType === REDACTION_TYPE) { - return log.wrap("redact", log => this._applyRedaction(sourceEntry.event, target.event, log)); + return log.wrap("redact", log => this._applyRedaction(sourceEntry.event, targetEntry.event, log)); } else { return false; }