diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-04-20 20:38:49 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-04-20 23:41:26 +0200 |
commit | de93c6ef39de46cc4078135dfa13954181be6f1b (patch) | |
tree | 65f83c16d305c6ed134351244d4906bd09ec7b34 /src/plugins | |
parent | c1db97f057e8f20aa26a2342da94eeff1d7a7725 (diff) |
Fix random crash when displaying chapter progress
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/Matrix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp index 147dbdf..57c879e 100644 --- a/src/plugins/Matrix.cpp +++ b/src/plugins/Matrix.cpp @@ -494,7 +494,7 @@ namespace QuickMedia { else if(message->related_event_type == RelatedEventType::REPLY) return extract_first_line_elipses(remove_reply_formatting(message->body), 150); else if(message->related_event_type == RelatedEventType::EDIT) - return "Edited: " + extract_first_line_elipses(message->body, 150); + return "Edited: " + extract_first_line_elipses(remove_reply_formatting(message->body), 150); else return extract_first_line_elipses(message->body, 150); } |