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 018485bd3c
commit e058adaee4
2 changed files with 8 additions and 1 deletions
@@ -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?) {