mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
Use latest user data for mention pills
This commit is contained in:
@@ -78,7 +78,11 @@ static NSAttributedString *messageSeparator = nil;
|
||||
}
|
||||
|
||||
// Create new message component
|
||||
MXKRoomBubbleComponent *addedComponent = [[MXKRoomBubbleComponent alloc] initWithEvent:event roomState:roomState eventFormatter:roomDataSource.eventFormatter session:self.mxSession];
|
||||
MXKRoomBubbleComponent *addedComponent = [[MXKRoomBubbleComponent alloc] initWithEvent:event
|
||||
roomState:roomState
|
||||
andLatestRoomState:roomDataSource.roomState
|
||||
eventFormatter:roomDataSource.eventFormatter
|
||||
session:self.mxSession];
|
||||
if (addedComponent)
|
||||
{
|
||||
[self addComponent:addedComponent];
|
||||
|
||||
Reference in New Issue
Block a user