mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-24 02:22:44 +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)
|
||||
}
|
||||
|
||||
+2
-2
@@ -54,11 +54,11 @@ class MockLiveLocationSharingViewerService: LiveLocationSharingViewerServiceProt
|
||||
return "@alice:matrix.org" == userId
|
||||
}
|
||||
|
||||
func startListenningLiveLocationUpdates() {
|
||||
func startListeningLiveLocationUpdates() {
|
||||
|
||||
}
|
||||
|
||||
func stopListenningLiveLocationUpdates() {
|
||||
func stopListeningLiveLocationUpdates() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user