Strip in reply to from thread summary and from the latest message

This commit is contained in:
ismailgulek
2022-03-18 18:04:21 +03:00
parent 4696d44e9e
commit a1428e3311
3 changed files with 23 additions and 20 deletions
@@ -115,7 +115,7 @@ class ThreadSummaryView: UIView {
room.state { [weak self] roomState in
guard let self = self else { return }
let formatterError = UnsafeMutablePointer<MXKEventFormatterError>.allocate(capacity: 1)
let lastMessageText = eventFormatter.attributedString(from: lastMessage,
let lastMessageText = eventFormatter.attributedString(from: lastMessage.replyStrippedVersion,
with: roomState,
error: formatterError)