diff --git a/src/gui/Pages/Chat/Timeline/EventContent.qml b/src/gui/Pages/Chat/Timeline/EventContent.qml index f668d13c..0eb321b6 100644 --- a/src/gui/Pages/Chat/Timeline/EventContent.qml +++ b/src/gui/Pages/Chat/Timeline/EventContent.qml @@ -300,8 +300,6 @@ HRowLayout { id: linksRepeater property EventMediaLoader lastHovered: null - property var pr: lastHovered - onPrChanged: print("pr changed:", pr) model: { const links = JSON.parse(eventDelegate.currentModel.links) diff --git a/src/gui/Pages/Chat/Timeline/EventContextMenu.qml b/src/gui/Pages/Chat/Timeline/EventContextMenu.qml index cca9b91e..f22103ef 100644 --- a/src/gui/Pages/Chat/Timeline/EventContextMenu.qml +++ b/src/gui/Pages/Chat/Timeline/EventContextMenu.qml @@ -95,7 +95,10 @@ HMenu { onTriggered: { if (! eventList.selectedCount){ - Clipboard.text = JSON.parse(event.source).body + Clipboard.text = + JSON.parse(event.source).body || + utils.stripHtmlTags(utils.processedEventText(event)) + return }