1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-09-09 11:33:21 +02:00

TextMessageDelegate: fix "Deleted message"

Because we moved from markdown to rich text, we should use "<i>"
instead of "*"

Change-Id: Ie67f1db247534d96a7a5432b193cf327418fd21b
This commit is contained in:
Sébastien Blin 2023-05-16 09:10:47 -04:00
parent fa406c70eb
commit 992fdb7d5e

View file

@ -55,7 +55,7 @@ SBSMessageBase {
MessagesAdapter.parseMessage(Id, Body, UtilsAdapter.getAppValue(Settings.DisplayHyperlinkPreviews), root.colorUrl, CurrentConversation.color);
return ""
}
return (ParsedBody !== "") ? ParsedBody : "*(" + JamiStrings.deletedMessage + ")*";
return (ParsedBody !== "") ? ParsedBody : "<i>(" + JamiStrings.deletedMessage + ")</i>";
}
horizontalAlignment: Text.AlignLeft