diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-04-03 13:24:38 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-04-03 13:24:38 +0200 |
commit | a5c749701af2fe58fafff36f679a593bc3380421 (patch) | |
tree | 6264844e19b5849e41fca9803a722c63bcac0276 /plugins | |
parent | d9f0fe6d83fbcd9b047e0e1284c6f7d4046c2758 (diff) |
Make saucenao work when using pantalaimon (doesn't work for encrypted rooms)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Matrix.hpp | 2 |
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; |