aboutsummaryrefslogtreecommitdiff
path: root/plugins/Page.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-11-04 21:45:53 +0100
committerdec05eba <dec05eba@protonmail.com>2020-11-04 21:45:53 +0100
commit3dd837611eef939a1fd54621c523cff4ab48e136 (patch)
tree3a8911fa0ecf697d083ff4c91f66314b771b7a8f /plugins/Page.hpp
parent4e7b6ef98c5f31dbeed50050254e0cb70fe0d959 (diff)
Matrix: fetch additional messages in the background for all rooms, filter room list when updated after sync
Diffstat (limited to 'plugins/Page.hpp')
-rw-r--r--plugins/Page.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Page.hpp b/plugins/Page.hpp
index 28c2bd6..54e7383 100644
--- a/plugins/Page.hpp
+++ b/plugins/Page.hpp
@@ -35,6 +35,7 @@ namespace QuickMedia {
(void)result_tabs;
return PluginResult::ERR;
}
+ virtual bool clear_search_after_submit() { return false; }
// Note: If pagination is done by fetching the next page until we get to |page|, then the "current page" should be reset everytime |search| is called.
// Note: the first page is 0
virtual PluginResult get_page(const std::string &str, int page, BodyItems &result_items) { (void)str; (void)page; (void)result_items; return PluginResult::OK; }