mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 08:03:50 +02:00
LiveLocationSharingViewerService: Fix typo.
This commit is contained in:
+3
-3
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user