diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-08-02 23:07:03 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-08-02 23:07:03 +0200 |
commit | cbc6997c0a5659239d2cd971f2fa77eeda53550b (patch) | |
tree | 58e59a7633a1c53fed6845a1e0454eb0ccf4c765 | |
parent | 01bac70680553e622a655722959a113ed35f4de9 (diff) |
Matrix: fix room directory submit always using empty text (resulting in the homserver being the server target)
-rw-r--r-- | TODO | 3 | ||||
-rw-r--r-- | src/plugins/Matrix.cpp | 4 |
2 files changed, 4 insertions, 3 deletions
@@ -190,4 +190,5 @@ Handle replaces_state in matrix to get correct order for states? Handle users_default power level in matrix. Remove power_levels from sync and request them manually when entering a room. Synapse is gay and mentions do not actually include the whole mxid. It only includes the username part of it. This conflicts with quickmedia notification and mentions where quickmedia includes the mxid in the mention instead, - while the user might have disable username mentions. In those cases the user wont get a notification for mxid mention. Mention name instead?
\ No newline at end of file + while the user might have disable username mentions. In those cases the user wont get a notification for mxid mention. Mention name instead? +Make it possible to redact invites.
\ No newline at end of file diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp index 58a90c9..18a76eb 100644 --- a/src/plugins/Matrix.cpp +++ b/src/plugins/Matrix.cpp @@ -985,8 +985,8 @@ namespace QuickMedia { rooms_page->set_room_as_read(room); } - PluginResult MatrixRoomDirectoryPage::submit(const std::string&, const std::string &url, std::vector<Tab> &result_tabs) { - std::string server_name = url; + PluginResult MatrixRoomDirectoryPage::submit(const std::string &title, const std::string&, std::vector<Tab> &result_tabs) { + std::string server_name = title; if(strncmp(server_name.c_str(), "http://", 7) == 0) server_name.erase(0, 7); |