aboutsummaryrefslogtreecommitdiff
path: root/plugins/Page.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-06-14 22:55:16 +0200
committerdec05eba <dec05eba@protonmail.com>2025-06-14 22:55:16 +0200
commit23295fe8df8568122e762b36114db8f3e4ef24a2 (patch)
treeb61a3e166a20f91ff10e85a28ca99b3803746e02 /plugins/Page.hpp
parent52f8dc5d05f5e34b0a3cf4bb4e4fe607f06965c5 (diff)
Matrix: authenticated media requests with access token
Diffstat (limited to 'plugins/Page.hpp')
-rw-r--r--plugins/Page.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Page.hpp b/plugins/Page.hpp
index 044759a..9e844b3 100644
--- a/plugins/Page.hpp
+++ b/plugins/Page.hpp
@@ -165,6 +165,7 @@ namespace QuickMedia {
virtual void set_url(std::string new_url) { url = std::move(new_url); }
std::string get_url() { return url; }
virtual std::string get_download_url(int max_height) { (void)max_height; return url; }
+ virtual std::string get_download_url_for_clipboard(int max_height) { return get_download_url(max_height); }
// Returns empty string for no timestamp or if the video doesn't support timestamps.
// Timestamp is in seconds.
virtual std::string get_url_timestamp() { return ""; }