consistent naming

This commit is contained in:
Bruno Windels 2021-05-27 09:11:13 +02:00
parent 56495c9d13
commit 2b5dcff836

View File

@ -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;
}