diff --git a/src/qml/SidePane/RoomDelegate.qml b/src/qml/SidePane/RoomDelegate.qml index fa96fab7..5f5ddf9b 100644 --- a/src/qml/SidePane/RoomDelegate.qml +++ b/src/qml/SidePane/RoomDelegate.qml @@ -75,9 +75,14 @@ HTileDelegate { return Utils.processedEventText(ev) } - return Utils.coloredNameHtml( + let text = Utils.coloredNameHtml( ev.sender_name, ev.sender_id ) + ": " + ev.inline_content + + return text.replace( + /< *span +class=['"]?greentext['"]? *>(.+)<\/ *span *>/, + '$1', + ) } contextMenu: HMenu {