fix: Hide markdown in chat list preview and local notifications

This commit is contained in:
Christian Pauly 2022-04-13 16:02:47 +02:00
parent 981dcc9e57
commit 3f04b42b4e
2 changed files with 2 additions and 0 deletions

View File

@ -267,6 +267,7 @@ class ChatListItem extends StatelessWidget {
hideReply: true,
hideEdit: true,
plaintextBody: true,
removeMarkdown: true,
withSenderNamePrefix: !room.isDirectChat ||
room.directChatMatrixID !=
room.lastEvent?.senderId,

View File

@ -38,6 +38,7 @@ extension LocalNotificationsExtension on MatrixState {
plaintextBody: true,
hideReply: true,
hideEdit: true,
removeMarkdown: true,
);
final icon = event.sender.avatarUrl?.getThumbnail(client,
width: 64, height: 64, method: ThumbnailMethod.crop) ??