From 903d996e10401ec93a03b813cbc6ac4ace6a5dfa Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 4 Nov 2020 15:03:33 +0100 Subject: Test caching filter in matrix --- plugins/Matrix.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins') diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp index bf9f715..f4a3200 100644 --- a/plugins/Matrix.hpp +++ b/plugins/Matrix.hpp @@ -472,6 +472,7 @@ namespace QuickMedia { std::string get_next_batch(); void clear_sync_cache_for_new_sync(); std::shared_ptr get_user_by_id(RoomData *room, const std::string &user_id); + std::string get_filter_cached(); DownloadResult download_json(rapidjson::Document &result, const std::string &url, std::vector additional_args, bool use_browser_useragent = false, std::string *err_msg = nullptr) const; private: std::vector> rooms; @@ -494,5 +495,6 @@ namespace QuickMedia { bool sync_is_cache = false; std::string sync_fail_reason; MatrixDelegate *delegate = nullptr; + std::optional filter_cached; }; } \ No newline at end of file -- cgit v1.2.3