Add clientPermalinkBaseUrl and set in matrix-sdk options.

This commit is contained in:
David Langley
2021-10-29 11:07:22 +01:00
parent cbd9f0f4b6
commit d3ec721906
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -133,8 +133,14 @@ final class BuildSettings: NSObject {
// Official Matrix ones
"matrix.to": ["/"],
"www.matrix.to": ["/"],
// Client Permalinks (for use with `BuildSettings.clientPermalinkBaseUrl`)
// "clienturl.com": ["/"],
// "www.clienturl.com": ["/"],
]
// For use in clients that use a custom base url for permalinks rather than matrix.to.
// This baseURL is used to generate permalinks within the app (E.g. timeline message permalinks).
static let clientPermalinkBaseUrl: String? = nil
// MARK: - VoIP
static var allowVoIPUsage: Bool {