mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
vector-im/element-ios/issues/5298 - Add .well-known configuration support for tile server and map styles.
This commit is contained in:
committed by
Stefan Ceriu
parent
a1560bfbe5
commit
ffb1ab424b
@@ -16,19 +16,20 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
/// Represents the homeserver configuration (usually based on HS Well-Known or hardoced values in the project)
|
||||
/// Represents the homeserver configuration (usually based on HS Well-Known or hardcoded values in the project)
|
||||
@objcMembers
|
||||
final class HomeserverConfiguration: NSObject {
|
||||
|
||||
// Note: Use an object per configuration subject when there is multiple properties related
|
||||
let jitsi: HomeserverJitsiConfiguration
|
||||
let isE2EEByDefaultEnabled: Bool
|
||||
let tileServer: HomeserverTileServerConfiguration
|
||||
|
||||
init(jitsi: HomeserverJitsiConfiguration,
|
||||
isE2EEByDefaultEnabled: Bool) {
|
||||
isE2EEByDefaultEnabled: Bool,
|
||||
tileServer: HomeserverTileServerConfiguration) {
|
||||
self.jitsi = jitsi
|
||||
self.isE2EEByDefaultEnabled = isE2EEByDefaultEnabled
|
||||
|
||||
super.init()
|
||||
self.tileServer = tileServer
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user