diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-03-11 23:12:25 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-03-11 23:12:25 +0100 |
commit | 118ea78d95a82d9f943180c8f976befc5d2dc97e (patch) | |
tree | c8daf5216042f35a0019edcfee44f343df864807 /plugins | |
parent | cf28b9984b9661fbc64684cf046fa3256040ed1d (diff) |
Matrix: allow pressing enter on a message with a room alias to join the room
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Matrix.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp index 4e3309f..0eb8766 100644 --- a/plugins/Matrix.hpp +++ b/plugins/Matrix.hpp @@ -35,6 +35,7 @@ namespace QuickMedia { std::string extract_user_name_from_user_id(const std::string &user_id); // Returns empty string on error std::string extract_user_name_from_email(const std::string &email); + std::vector<std::string> matrix_extract_room_ids(const std::string &str); struct MatrixChatBodyDecryptJob { enum class DecryptState { |