From 4815b649c09fd461baf0e48306abab7f790f5ca5 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 11 Nov 2022 17:36:44 +0100 Subject: Matrix: fix emojis not removed from codeblocks when posting a message, clamp emoji size during post not upload --- plugins/Matrix.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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 &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); -- cgit v1.2.3