mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
pr suggestions
This commit is contained in:
@@ -754,8 +754,8 @@ class JoinedRoomProxy: JoinedRoomProxyProtocol {
|
||||
|
||||
// MARK: - Live Location
|
||||
|
||||
func getLiveLocationSharesService() async -> LiveLocationSharesServiceProtocol {
|
||||
await LiveLocationSharesService(liveLocationShares: room.liveLocationShares())
|
||||
func makeLiveLocationService() async -> RoomLiveLocationServiceProtocol {
|
||||
await RoomLiveLocationService(liveLocationShares: room.liveLocationShares())
|
||||
}
|
||||
|
||||
func startLiveLocationShare(duration: Duration) async -> Result<Void, RoomProxyError> {
|
||||
|
||||
@@ -197,7 +197,7 @@ protocol JoinedRoomProxyProtocol: RoomProxyProtocol {
|
||||
|
||||
// MARK: - Live Location
|
||||
|
||||
func getLiveLocationSharesService() async -> LiveLocationSharesServiceProtocol
|
||||
func makeLiveLocationService() async -> RoomLiveLocationServiceProtocol
|
||||
|
||||
func startLiveLocationShare(duration: Duration) async -> Result<Void, RoomProxyError>
|
||||
func sendLiveLocation(geoURI: GeoURI) async -> Result<Void, RoomProxyError>
|
||||
|
||||
Reference in New Issue
Block a user