aboutsummaryrefslogtreecommitdiff
path: root/plugins/Matrix.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Matrix.hpp')
-rw-r--r--plugins/Matrix.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp
index f589db5..5292414 100644
--- a/plugins/Matrix.hpp
+++ b/plugins/Matrix.hpp
@@ -319,7 +319,7 @@ namespace QuickMedia {
const char* get_title() const override { return title.c_str(); }
PluginResult submit(const std::string &title, const std::string &url, std::vector<Tab> &result_tabs) override;
- bool submit_is_async() override { return false; }
+ bool submit_is_async() const override { return false; }
bool clear_search_after_submit() override { return true; }
void add_body_item(std::shared_ptr<BodyItem> body_item);
@@ -349,7 +349,7 @@ namespace QuickMedia {
MatrixRoomTagsPage(Program *program, Body *body) : Page(program), body(body) {}
const char* get_title() const override { return "Tags"; }
PluginResult submit(const std::string &title, const std::string &url, std::vector<Tab> &result_tabs) override;
- bool submit_is_async() override { return false; }
+ bool submit_is_async() const override { return false; }
bool clear_search_after_submit() override { return true; }
void add_room_body_item_to_tag(std::shared_ptr<BodyItem> body_item, const std::string &tag);
@@ -380,7 +380,7 @@ namespace QuickMedia {
const char* get_title() const override { return title.c_str(); }
PluginResult submit(const std::string &title, const std::string &url, std::vector<Tab> &result_tabs) override;
- bool submit_is_async() override { return false; }
+ bool submit_is_async() const override { return false; }
bool clear_search_after_submit() override { return true; }
void add_body_item(std::shared_ptr<BodyItem> body_item);
@@ -484,7 +484,7 @@ namespace QuickMedia {
PluginResult get_page(const std::string &str, int page, BodyItems &result_items) override;
PluginResult lazy_fetch(BodyItems &result_items) override;
bool is_ready() override;
- bool submit_is_async() override { return false; }
+ bool submit_is_async() const override { return false; }
bool clear_search_after_submit() override { return true; }
void add_notification(MatrixNotification notification);