mirukana / mirage

A fancy, customizable, keyboard-operable Qt/QML & Python Matrix chat client for encrypted and decentralized communication.
GNU Lesser General Public License v3.0
412 stars 40 forks source link

embeds hyperlinks in desktop notifications regardless of server support #258

Open jonassmedegaard opened 3 years ago

jonassmedegaard commented 3 years ago

When I use Mirage with the simple notification daemon mako, tags are displayed - as plaintext - in the notification.

It seems that the spec says to consult the notification daemon and only include metadata like links and other markup when server says that it supports it.

I notice in src/config/settings.py that it is possible to "dumb down" notifications "if you keep seeing raw in notifications". Seems to me that it should not be an explicit user action to do that, but instead Mirage should do it based on server capabilities body-markup and body-hyperlinks.

jonassmedegaard commented 3 years ago

This looks helpful, in relation to this issue.