Move extension into Element

This commit is contained in:
ismailgulek
2022-04-05 13:09:37 +03:00
parent e4a8ff986e
commit 64eb616a4c
3 changed files with 28 additions and 8 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).byRemovingLinks
error: formatterError).vc_byRemovingLinks
}
private func lastMessageTextAndTime(forThread thread: MXThreadProtocol) -> (NSAttributedString?, String?) {