Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
ba2f9115 by wurstsalat at 2025-10-07T22:08:45+02:00
imprv: ChatList: Display messages with 'Code snippet' instead of '```'
- - - - -
1 changed file:
- gajim/gtk/chat_list_row.py
Changes:
=====================================
gajim/gtk/chat_list_row.py
=====================================
@@ -287,6 +287,10 @@ def set_message_text(
# Split by newline and display last line (or first, if last is newline)
lines = text.split("\n")
text = lines[-1] or lines[0]
+
+ if text.startswith("```"):
+ text = _("Code snippet")
+
self._ui.message_label.set_markup(text)
if icon is None:
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/ba2f9115c15487382b0c42639eedacd07a4e1733
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/ba2f9115c15487382b0c42639eedacd07a4e1733
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]