mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
6111: Move the call on the listener
This commit is contained in:
@@ -767,6 +767,7 @@ const CGFloat kTypingCellHeight = 24;
|
||||
MXWeakify(self);
|
||||
self.beaconInfoSummaryListener = [self.mxSession.aggregations.beaconAggregations listenToBeaconInfoSummaryUpdateInRoomWithId:self.roomId handler:^(id<MXBeaconInfoSummaryProtocol> beaconInfoSummary) {
|
||||
MXStrongifyAndReturnIfNil(self);
|
||||
[self updateCurrentUserLocationSharingStatus];
|
||||
[self refreshFirstCellWithBeaconInfoSummary:beaconInfoSummary];
|
||||
}];
|
||||
}
|
||||
@@ -794,7 +795,6 @@ const CGFloat kTypingCellHeight = 24;
|
||||
|
||||
if (cellIndex != NSNotFound)
|
||||
{
|
||||
[self updateCurrentUserLocationSharingStatus];
|
||||
roomBubbleCellData.beaconInfoSummary = beaconInfoSummary;
|
||||
[self refreshCells];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user