mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-20 18:48:47 +00:00
Messages are parsed to transform markdown to something that can be rendered in a formatted way. When this happens, the parsed text is applied to a message's `text` property inside desktop. There was no formatted message support for imported discord messages, so we were relying purely on `discordMessage.content`. However, now formatting support is pending in status-go here: https://github.com/status-im/status-go/pull/2933 This means, once this lands, we can simply rely on `messsageItem.text`. I'm adding this guard here such that this will continue to work without the feature in status-go, but once the feature in status-go lands, desktop will automatically adapt. Closes #8086
Status-desktop
Desktop client for the Status Network built with Nim and Qt
Dev Docs: https://hackmd.io/@status-desktop/B1naRjxh_/https%3A%2F%2Fhackmd.io%2F%40status-desktop%2FB1eOaf-nd
Description
Languages
QML
39.5%
JavaScript
29.4%
Nim
18.5%
Python
5.6%
C++
5.2%
Other
1.6%