diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Matrix.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp index f76d70d..1063e0e 100644 --- a/plugins/Matrix.hpp +++ b/plugins/Matrix.hpp @@ -14,8 +14,11 @@ namespace QuickMedia { struct RoomData; struct Message; + static const int AUTHOR_MAX_LENGTH = 48; + std::string remove_reply_formatting(const std::string &str); std::string message_get_body_remove_formatting(Message *message); + std::string extract_first_line_remove_newline_elipses(const std::string &str, size_t max_length); enum class UserResolveState { NOT_RESOLVED, |