diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-06-25 01:29:05 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-06-25 01:29:05 +0200 |
commit | 2dd6c6f4b648af951d08ddd503dbb2ada8ddf5b6 (patch) | |
tree | e6562f057a152e5b63011c61916342c1645d9fe8 /src/plugins | |
parent | 3f17b05161885ab773984a735a4161493e846fb6 (diff) |
Matrix: remove reply formatting from image save name in reply image messages
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/Matrix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp index 9dd4ec9..13c6f4f 100644 --- a/src/plugins/Matrix.cpp +++ b/src/plugins/Matrix.cpp @@ -298,7 +298,7 @@ namespace QuickMedia { return str; } - static std::string remove_reply_formatting(Matrix *matrix, const Message *message, bool keep_formatted = false) { + std::string remove_reply_formatting(Matrix *matrix, const Message *message, bool keep_formatted) { if(!message->body_is_formatted && strncmp(message->body.c_str(), "> <@", 4) == 0) { size_t index = message->body.find("> ", 4); if(index != std::string::npos) { |