Skip to content

Commit

Permalink
fix: remove event from matrix locals
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian KOUNE committed Oct 11, 2023
1 parent d59971c commit 45ee1a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions lib/utils/matrix_sdk_extensions/matrix_locals.dart
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ class MatrixLocals extends MatrixLocalizations {
String get noPermission => l10n.noKeyForThisMessage;

@override
String redactedAnEvent(Event redactedEvent) {
return l10n.redactedAnEvent(redactedEvent);
String redactedAnEvent(String displayName) {
return l10n.redactedAnEvent(displayName);
}

@override
Expand All @@ -192,8 +192,8 @@ class MatrixLocals extends MatrixLocalizations {
}

@override
String removedBy(Event redactedEvent) {
return l10n.removedBy(redactedEvent);
String removedBy(String displayName) {
return l10n.removedBy(displayName);
}

@override
Expand Down
2 changes: 1 addition & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1534,7 +1534,7 @@ packages:
description:
path: "."
ref: "twake-supported-0.22.4"
resolved-ref: bbc843232affc4b04fb7dbd45a925ddde4a7e878
resolved-ref: 7b85a14ebb663ecc25bf55fbb7ceec3a0663515d
url: "[email protected]:linagora/matrix-dart-sdk.git"
source: git
version: "0.22.4"
Expand Down

0 comments on commit 45ee1a6

Please sign in to comment.