Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove event from matrix locals #794

Merged
merged 1 commit into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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