aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-04-03 13:24:38 +0200
committerdec05eba <dec05eba@protonmail.com>2022-04-03 13:24:38 +0200
commita5c749701af2fe58fafff36f679a593bc3380421 (patch)
tree6264844e19b5849e41fca9803a722c63bcac0276 /plugins
parentd9f0fe6d83fbcd9b047e0e1284c6f7d4046c2758 (diff)
Make saucenao work when using pantalaimon (doesn't work for encrypted rooms)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Matrix.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp
index 9b0fc58..0c12831 100644
--- a/plugins/Matrix.hpp
+++ b/plugins/Matrix.hpp
@@ -580,6 +580,7 @@ namespace QuickMedia {
std::shared_ptr<UserInfo> get_me(RoomData *room);
const std::string& get_homeserver_domain() const;
+ std::string get_remote_homeserver_url() const;
// Returns nullptr if message cant be found. Note: cached
std::shared_ptr<Message> get_message_by_id(RoomData *room, const std::string &event_id);
@@ -647,6 +648,7 @@ namespace QuickMedia {
std::string access_token;
std::string homeserver;
std::string homeserver_domain;
+ std::string well_known_base_url;
std::optional<int> upload_limit;
std::string next_batch;
std::string next_notifications_token;