diff options
author | Joseph Donofry <joedonofry@gmail.com> | 2021-02-01 18:42:38 -0500 |
---|---|---|
committer | Joseph Donofry <joedonofry@gmail.com> | 2021-02-01 18:42:38 -0500 |
commit | 53c653a228f529bab3753ca99dee18a5bf5342a2 (patch) | |
tree | ad0ba40d27ca5a515f1f33c29c910e5cf7b20dd7 /resources/qml/TimelineView.qml | |
parent | Remove redundant import and fix visible warning (diff) | |
parent | Fix emojis with fe0f in the middle (diff) | |
download | nheko-53c653a228f529bab3753ca99dee18a5bf5342a2.tar.xz |
Merge remote-tracking branch 'nheko-im/master' into privacy_screen
Diffstat (limited to 'resources/qml/TimelineView.qml')
-rw-r--r-- | resources/qml/TimelineView.qml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml index 379b19fb..14d55b23 100644 --- a/resources/qml/TimelineView.qml +++ b/resources/qml/TimelineView.qml @@ -35,7 +35,7 @@ Page { colors: palette model: EmojiProxyModel { - category: EmojiCategory.People + category: Emoji.Category.People sourceModel: EmojiModel { } @@ -125,6 +125,13 @@ Page { onTriggered: TimelineManager.timeline.saveMedia(messageContextMenu.eventId) } + MenuItem { + visible: messageContextMenu.eventType == MtxEvent.ImageMessage || messageContextMenu.eventType == MtxEvent.VideoMessage || messageContextMenu.eventType == MtxEvent.AudioMessage || messageContextMenu.eventType == MtxEvent.FileMessage || messageContextMenu.eventType == MtxEvent.Sticker + height: visible ? implicitHeight : 0 + text: qsTr("Open in external program") + onTriggered: TimelineManager.timeline.openMedia(messageContextMenu.eventId) + } + } Rectangle { |