mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-01-12 18:52:39 +01:00
Merge branch 'krille/hide-markdown' into 'main'
fix: Hide markdown in chat list preview and local notifications See merge request famedly/fluffychat!822
This commit is contained in:
commit
959ceb1353
@ -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