Handle use only latest profile live refreshes

This commit is contained in:
Arnaud Ringenbach
2022-03-02 15:51:01 +01:00
committed by aringenbach
parent a6ed656107
commit 91d3411326
3 changed files with 45 additions and 0 deletions
@@ -231,6 +231,13 @@
*/
- (instancetype)initWithEvent:(MXEvent*)event andRoomState:(MXRoomState*)roomState andRoomDataSource:(MXKRoomDataSource*)roomDataSource;
/**
Refreshes the avatar and display name if needed. Should be used only if `roomScreenUseOnlyLatestProfiles` is enabled.
@param roomDataSource the `MXKRoomDataSource` object that will use this instance.
*/
- (void)refreshProfileWithRoomDataSource:(MXKRoomDataSource*)roomDataSource;
/**
Update the event because its sent state changed or it is has been redacted.