Render links and mentions as regular text in thread list

This commit is contained in:
ismailgulek
2022-04-05 02:35:32 +03:00
parent bd5d43d5b1
commit 57c7075519
2 changed files with 8 additions and 1 deletions

View File

@@ -209,7 +209,7 @@ final class ThreadListViewModel: ThreadListViewModelProtocol {
let formatterError = UnsafeMutablePointer<MXKEventFormatterError>.allocate(capacity: 1)
return eventFormatter.attributedString(from: message.replyStrippedVersion,
with: roomState,
error: formatterError)
error: formatterError).byRemovingLinks
}
private func lastMessageTextAndTime(forThread thread: MXThreadProtocol) -> (NSAttributedString?, String?) {