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

misc: fix link color

Change-Id: I7d59a8f1cfd01469463864905c3f2ad983afeb95
GitLab: #961
This commit is contained in:
Sébastien Blin 2023-02-05 16:18:14 -05:00
parent b2643f5967
commit fc0ee942df

View file

@ -85,5 +85,9 @@ function parseMessage(messageId, message, showPreview, color='#0645AD') {
}
if (showPreview)
getPreviewInfo(messageId, links[0].href)
window.jsbridge.emitLinkified(messageId, linkifyStr(message, color))
window.jsbridge.emitLinkified(messageId, linkifyStr(message, {
attributes: {
style: "color:" + color + ";"
}
}))
}