* Remove support for handling SPA call links. They were a stop-gap solution whilst we were building support for embedded room calling. * Simplify ElementCallConfiguration now that there is only 1 type of call to handle. * Remove the unused overlayModule from NavigationRoomCoordinator.
26 lines
699 B
Swift
26 lines
699 B
Swift
//
|
|
// Copyright 2025 Element Creations Ltd.
|
|
// Copyright 2024-2025 New Vector Ltd.
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
|
|
// Please see LICENSE files in the repository root for full details.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
/// Information about how a call should be configured.
|
|
struct ElementCallConfiguration {
|
|
let roomProxy: JoinedRoomProxyProtocol
|
|
let clientProxy: ClientProxyProtocol
|
|
let clientID: String
|
|
let elementCallBaseURL: URL
|
|
let elementCallBaseURLOverride: URL?
|
|
let voiceOnly: Bool
|
|
let colorScheme: ColorScheme
|
|
|
|
/// A string representing the call being configured.
|
|
var callRoomID: String {
|
|
roomProxy.id
|
|
}
|
|
}
|