Event context menu: copy HTTP media URL, not MXC
This commit is contained in:
parent
2fb4ad5eae
commit
0cd2678797
|
@ -210,7 +210,12 @@ HColumnLayout {
|
||||||
qsTr("Copy audio address")
|
qsTr("Copy audio address")
|
||||||
|
|
||||||
visible: Boolean(text)
|
visible: Boolean(text)
|
||||||
onTriggered: Clipboard.text = contextMenu.media[1]
|
onTriggered: py.callClientCoro(
|
||||||
|
chat.userId,
|
||||||
|
"mxc_to_http",
|
||||||
|
[contextMenu.media[1]],
|
||||||
|
httpUrl => Clipboard.text = httpUrl,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
HMenuItem {
|
HMenuItem {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user