Use latest user data for mention pills

This commit is contained in:
aringenbach
2022-06-16 17:07:47 +02:00
parent 87915a9e30
commit 4c8bed38c2
24 changed files with 357 additions and 97 deletions
@@ -148,8 +148,10 @@ private final class CollapsibleBubbleCellData: MXKRoomBubbleCellData {
private final class CountingEventFormatter: MXKEventFormatter {
override func attributedString(from events: [MXEvent]!, with roomState: MXRoomState!, error: UnsafeMutablePointer<MXKEventFormatterError>!) -> NSAttributedString! {
override func attributedString(from events: [MXEvent]!,
with roomState: MXRoomState!,
andLatestRoomState latestRoomState: MXRoomState!,
error: UnsafeMutablePointer<MXKEventFormatterError>!) -> NSAttributedString! {
NSAttributedString(string: "\(events.count)")
}
}