mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-30 16:29:30 +01:00
fix: Hide markdown in chat list preview and local notifications
This commit is contained in:
parent
981dcc9e57
commit
3f04b42b4e
@ -267,6 +267,7 @@ class ChatListItem extends StatelessWidget {
|
|||||||
hideReply: true,
|
hideReply: true,
|
||||||
hideEdit: true,
|
hideEdit: true,
|
||||||
plaintextBody: true,
|
plaintextBody: true,
|
||||||
|
removeMarkdown: true,
|
||||||
withSenderNamePrefix: !room.isDirectChat ||
|
withSenderNamePrefix: !room.isDirectChat ||
|
||||||
room.directChatMatrixID !=
|
room.directChatMatrixID !=
|
||||||
room.lastEvent?.senderId,
|
room.lastEvent?.senderId,
|
||||||
|
@ -38,6 +38,7 @@ extension LocalNotificationsExtension on MatrixState {
|
|||||||
plaintextBody: true,
|
plaintextBody: true,
|
||||||
hideReply: true,
|
hideReply: true,
|
||||||
hideEdit: true,
|
hideEdit: true,
|
||||||
|
removeMarkdown: true,
|
||||||
);
|
);
|
||||||
final icon = event.sender.avatarUrl?.getThumbnail(client,
|
final icon = event.sender.avatarUrl?.getThumbnail(client,
|
||||||
width: 64, height: 64, method: ThumbnailMethod.crop) ??
|
width: 64, height: 64, method: ThumbnailMethod.crop) ??
|
||||||
|
Loading…
Reference in New Issue
Block a user