aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-11-11 17:36:44 +0100
committerdec05eba <dec05eba@protonmail.com>2022-11-11 17:36:44 +0100
commit4815b649c09fd461baf0e48306abab7f790f5ca5 (patch)
tree1ec5409164b1028aa8728fb1b909d828bbd56ffc /plugins
parentf3937a874ce08ff9983d922383d86862696b716e (diff)
Matrix: fix emojis not removed from codeblocks when posting a message, clamp emoji size during post not upload
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Matrix.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp
index 9378a9f..d5fe251 100644
--- a/plugins/Matrix.hpp
+++ b/plugins/Matrix.hpp
@@ -708,7 +708,7 @@ namespace QuickMedia {
void trigger_event(RoomData *room, MatrixEventType type, MatrixEventUserInfo user_info);
void trigger_event(RoomData *room, MatrixEventType type, MatrixEventRoomInfo room_info);
- void formatted_body_add_line(RoomData *room, std::string &formatted_body, const std::string &line_str);
+ void formatted_body_add_line(RoomData *room, std::string &formatted_body, const std::string &line_str, const std::unordered_map<std::string, CustomEmoji> &custom_emojis);
void replace_mentions(RoomData *room, std::string &text);
std::string create_formatted_body_for_message_reply(RoomData *room, const Message *message, const std::string &body);