mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
Handle use only latest profile live refreshes
This commit is contained in:
committed by
aringenbach
parent
a6ed656107
commit
91d3411326
@@ -107,6 +107,18 @@
|
||||
bubbleComponents = nil;
|
||||
}
|
||||
|
||||
- (void)refreshProfileWithRoomDataSource:(MXKRoomDataSource *)roomDataSource2
|
||||
{
|
||||
if (self.events.firstObject)
|
||||
{
|
||||
MXEvent* firstEvent = self.events.firstObject;
|
||||
senderDisplayName = [roomDataSource.eventFormatter senderDisplayNameForEvent:firstEvent
|
||||
withRoomState:roomDataSource2.roomState];
|
||||
senderAvatarUrl = [roomDataSource.eventFormatter senderAvatarUrlForEvent:firstEvent
|
||||
withRoomState:roomDataSource2.roomState];
|
||||
}
|
||||
}
|
||||
|
||||
- (NSUInteger)updateEvent:(NSString *)eventId withEvent:(MXEvent *)event
|
||||
{
|
||||
NSUInteger count = 0;
|
||||
|
||||
Reference in New Issue
Block a user