diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-04-01 17:59:36 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-04-01 17:59:36 +0200 |
commit | 276395f468c8ee05951401a1d352e0dec3c3a3a8 (patch) | |
tree | 3eab155a956c61268a4077322de9de9d7ca17ce0 /plugins/Page.hpp | |
parent | 521589c6026246113117a0f8ad568e0061aba46a (diff) |
Matrix: add room directory for joining rooms, resize video thumbnail
Diffstat (limited to 'plugins/Page.hpp')
-rw-r--r-- | plugins/Page.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Page.hpp b/plugins/Page.hpp index 8ef2b59..b5af7a9 100644 --- a/plugins/Page.hpp +++ b/plugins/Page.hpp @@ -47,6 +47,8 @@ namespace QuickMedia { virtual bool is_single_page() const { return false; } virtual bool is_trackable() const { return false; } virtual bool is_lazy_fetch_page() const { return false; } + // Note: If submit is done without any selection, then the search term is sent as the |title|, not |url| + virtual bool allow_submit_no_selection() const { return false; } // This is called both when first navigating to page and when going back to page virtual void on_navigate_to_page(Body *body) { (void)body; } |