From a5c749701af2fe58fafff36f679a593bc3380421 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 3 Apr 2022 13:24:38 +0200 Subject: Make saucenao work when using pantalaimon (doesn't work for encrypted rooms) --- plugins/Matrix.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/Matrix.hpp') 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 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 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 upload_limit; std::string next_batch; std::string next_notifications_token; -- cgit v1.2.3