From 2dd6c6f4b648af951d08ddd503dbb2ada8ddf5b6 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 25 Jun 2023 01:29:05 +0200 Subject: Matrix: remove reply formatting from image save name in reply image messages --- src/plugins/Matrix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins') 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) { -- cgit v1.2.3