mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 19:45:05 +01:00
consistent naming
This commit is contained in:
parent
56495c9d13
commit
2b5dcff836
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user