Threads: added support to notifications count (MSC3773)

This commit is contained in:
Gil Eluard
2022-11-01 22:57:39 +01:00
parent 3b8090747c
commit 3c0562c24e
4 changed files with 10 additions and 13 deletions
@@ -210,7 +210,7 @@ final class ThreadListViewModel: ThreadListViewModelProtocol {
return eventFormatter.attributedString(from: message.replyStrippedVersion,
with: roomState,
andLatestRoomState: nil,
error: formatterError).vc_byRemovingLinks
error: formatterError)?.vc_byRemovingLinks
}
private func lastMessageTextAndTime(forThread thread: MXThreadProtocol) -> (NSAttributedString?, String?) {