aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-11-04 15:03:33 +0100
committerdec05eba <dec05eba@protonmail.com>2020-11-04 15:03:33 +0100
commit903d996e10401ec93a03b813cbc6ac4ace6a5dfa (patch)
tree71a6b7690b3d1e15d1ae2a1887a4787eecb55e4e /plugins
parentc22aab0620c79a80535c85c0dad87a1f288a884c (diff)
Test caching filter in matrix
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 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<UserInfo> 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<CommandArg> additional_args, bool use_browser_useragent = false, std::string *err_msg = nullptr) const;
private:
std::vector<std::unique_ptr<RoomData>> rooms;
@@ -494,5 +495,6 @@ namespace QuickMedia {
bool sync_is_cache = false;
std::string sync_fail_reason;
MatrixDelegate *delegate = nullptr;
+ std::optional<std::string> filter_cached;
};
} \ No newline at end of file