mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
Use latest user data for mention pills
This commit is contained in:
@@ -209,6 +209,7 @@ final class ThreadListViewModel: ThreadListViewModelProtocol {
|
||||
let formatterError = UnsafeMutablePointer<MXKEventFormatterError>.allocate(capacity: 1)
|
||||
return eventFormatter.attributedString(from: message.replyStrippedVersion,
|
||||
with: roomState,
|
||||
andLatestRoomState: nil,
|
||||
error: formatterError).vc_byRemovingLinks
|
||||
}
|
||||
|
||||
@@ -223,6 +224,7 @@ final class ThreadListViewModel: ThreadListViewModelProtocol {
|
||||
return (
|
||||
eventFormatter.attributedString(from: message.replyStrippedVersion,
|
||||
with: roomState,
|
||||
andLatestRoomState: nil,
|
||||
error: formatterError),
|
||||
eventFormatter.dateString(from: message, withTime: true)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user