From 69d4c50b138c36f9d454ef5060b113480e03edd4 Mon Sep 17 00:00:00 2001 From: krille-chan Date: Sat, 30 Nov 2024 14:19:57 +0100 Subject: [PATCH] chore: Do not display sender prefix for DM rooms in notification ticker --- lib/utils/push_helper.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/push_helper.dart b/lib/utils/push_helper.dart index 05f0e90c7..3b1194690 100644 --- a/lib/utils/push_helper.dart +++ b/lib/utils/push_helper.dart @@ -266,7 +266,7 @@ Future _tryPushHelper( ticker: event.calcLocalizedBodyFallback( matrixLocals, plaintextBody: true, - withSenderNamePrefix: true, + withSenderNamePrefix: !event.room.isDirectChat, hideReply: true, hideEdit: true, removeMarkdown: true,