aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/Matrix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp
index 953543c..d93c64a 100644
--- a/src/plugins/Matrix.cpp
+++ b/src/plugins/Matrix.cpp
@@ -263,7 +263,7 @@ namespace QuickMedia {
return colors[color_hash_code(user_id) % num_colors];
}
- std::string formatted_text_remove_reply(const std::string &str) {
+ static std::string formatted_text_remove_reply(const std::string &str) {
size_t last_mx_reply_end = str.rfind("</mx-reply>");
if(last_mx_reply_end == std::string::npos)
return str;