aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-04-01 23:21:25 +0200
committerdec05eba <dec05eba@protonmail.com>2021-04-01 23:21:25 +0200
commitcfa37b674e9493388e7ebd89f53eacbb197cbdcb (patch)
treecbadbc2a3120e0724e216a72fa8f64f8fd1fd4f0 /plugins
parent57ab6b22b37ff133128ad16a5c1882e627243461 (diff)
Matrix: fix thumbnails when using pantalaimon, add more predefined rooms to room directory
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Matrix.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp
index eea7f9b..974238f 100644
--- a/plugins/Matrix.hpp
+++ b/plugins/Matrix.hpp
@@ -450,6 +450,7 @@ namespace QuickMedia {
MatrixRoomDirectoryPage(Program *program, Matrix *matrix) : Page(program), matrix(matrix) {}
const char* get_title() const override { return "Room directory"; }
bool allow_submit_no_selection() const override { return true; }
+ bool clear_search_after_submit() override { return true; }
PluginResult submit(const std::string &title, const std::string &url, std::vector<Tab> &result_tabs) override;
private:
Matrix *matrix;