LiveLocationSharingViewerService: Fix typo.

This commit is contained in:
SBiOSoftWhare
2022-05-04 15:52:45 +02:00
parent 46373f7ad6
commit 60fb9bed63
3 changed files with 6 additions and 6 deletions
@@ -50,14 +50,14 @@ class LiveLocationSharingViewerService: LiveLocationSharingViewerServiceProtocol
return self.session.myUserId == userId
}
func startListenningLiveLocationUpdates() {
self.beaconInfoSummaryListener = self.session.aggregations.beaconAggegations.listenToBeaconInfoSummaryUpdateInRoom(withId: self.roomId) { [weak self] _ in
func startListeningLiveLocationUpdates() {
self.beaconInfoSummaryListener = self.session.aggregations.beaconAggregations.listenToBeaconInfoSummaryUpdateInRoom(withId: self.roomId) { [weak self] _ in
self?.updateUsersLiveLocation(notifyUpdate: true)
}
}
func stopListenningLiveLocationUpdates() {
func stopListeningLiveLocationUpdates() {
if let listener = beaconInfoSummaryListener {
self.session.aggregations.removeListener(listener)
}