aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-05-19 00:24:27 +0200
committerdec05eba <dec05eba@protonmail.com>2021-05-19 00:24:27 +0200
commit6beaa000d590db342bc0198590686cbbd6304eb4 (patch)
treed0b91fa35c19ae366677ed810025c8f4923e2033 /plugins
parent9cbba813ff41549467af38a9f0ce3eb28d4c157b (diff)
Disable mention formatting in single line code blocks
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Matrix.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp
index 0e96fd7..0c90587 100644
--- a/plugins/Matrix.hpp
+++ b/plugins/Matrix.hpp
@@ -585,6 +585,7 @@ namespace QuickMedia {
// No-op if sync is cache or if |room| is not the currently enabled event queue room
void trigger_event(RoomData *room, std::unique_ptr<MatrixEvent> event);
+ void formatted_body_add_line(RoomData *room, std::string &formatted_body, const std::string &line_str);
void replace_mentions(RoomData *room, std::string &text);
std::string body_to_formatted_body(RoomData *room, const std::string &body);
std::string create_formatted_body_for_message_reply(RoomData *room, const Message *message, const std::string &body);