aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-07-28 21:19:11 +0200
committerdec05eba <dec05eba@protonmail.com>2021-07-28 21:19:11 +0200
commitda9836a92ef69bb93e521985976db0322e2d5316 (patch)
treea44f09a0158f94812f887e53c7780e203c787ea9 /src/plugins
parent60f22a9cba69a8443ed1442c5294a0102ed6f1a3 (diff)
Fix submit without selected item (in matrix room directory and invites page)
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/Matrix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp
index 6e95831..68b9524 100644
--- a/src/plugins/Matrix.cpp
+++ b/src/plugins/Matrix.cpp
@@ -981,8 +981,8 @@ namespace QuickMedia {
rooms_page->set_room_as_read(room);
}
- PluginResult MatrixRoomDirectoryPage::submit(const std::string &title, const std::string&, std::vector<Tab> &result_tabs) {
- std::string server_name = title;
+ PluginResult MatrixRoomDirectoryPage::submit(const std::string&, const std::string &url, std::vector<Tab> &result_tabs) {
+ std::string server_name = url;
if(strncmp(server_name.c_str(), "http://", 7) == 0)
server_name.erase(0, 7);