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:
@@ -237,13 +237,11 @@
|
||||
- (instancetype)initWithEvent:(MXEvent*)event andRoomState:(MXRoomState*)roomState andRoomDataSource:(MXKRoomDataSource*)roomDataSource;
|
||||
|
||||
/**
|
||||
Sets the `MXRoomState` for a buble cell. This allows to adapt the display
|
||||
of a cell with a different room state than its historical. This won't update critical
|
||||
flag/status, such as `isEncryptedRoom`.
|
||||
Refresh avatars and display names (AKA profiles) displayed in the cell if needed.
|
||||
|
||||
@param roomState the `MXRoomState` to use for this cell.
|
||||
@param latestRoomState the latest `MXRoomState` from the data source.
|
||||
*/
|
||||
- (void)setRoomState:(MXRoomState *)roomState;
|
||||
- (void)refreshProfilesIfNeeded:(MXRoomState *)latestRoomState;
|
||||
|
||||
/**
|
||||
Update the event because its sent state changed or it is has been redacted.
|
||||
|
||||
Reference in New Issue
Block a user