chore: Do not display sender prefix for DM rooms in notification ticker

This commit is contained in:
krille-chan 2024-11-30 14:19:57 +01:00
parent 6286f30b9b
commit 69d4c50b13
No known key found for this signature in database

View file

@ -266,7 +266,7 @@ Future<void> _tryPushHelper(
ticker: event.calcLocalizedBodyFallback(
matrixLocals,
plaintextBody: true,
withSenderNamePrefix: true,
withSenderNamePrefix: !event.room.isDirectChat,
hideReply: true,
hideEdit: true,
removeMarkdown: true,