mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 09:05:10 +00:00
chore: Follow up fix redaction translation
This commit is contained in:
parent
a06b3e6a9e
commit
7c3eff67bc
1 changed files with 2 additions and 2 deletions
|
@ -185,7 +185,7 @@ class MatrixLocals extends MatrixLocalizations {
|
|||
String redactedAnEvent(Event redactedEvent) {
|
||||
return l10n.redactedAnEvent(
|
||||
redactedEvent.redactedBecause?.senderFromMemoryOrFallback
|
||||
.calcLocalizedBodyFallback(this) ??
|
||||
.calcDisplayname() ??
|
||||
l10n.user,
|
||||
);
|
||||
}
|
||||
|
@ -198,7 +198,7 @@ class MatrixLocals extends MatrixLocalizations {
|
|||
@override
|
||||
String removedBy(Event redactedEvent) {
|
||||
return l10n.removedBy(
|
||||
redactedEvent.senderFromMemoryOrFallback.calcLocalizedBodyFallback(this),
|
||||
redactedEvent.senderFromMemoryOrFallback.calcDisplayname(),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue