Expand on BuildingSetting description and add changelog

This commit is contained in:
David Langley 2021-11-04 12:29:49 +00:00
parent 4175f3fdc3
commit d41cf3c907
2 changed files with 5 additions and 2 deletions

View file

@ -134,12 +134,14 @@ final class BuildSettings: NSObject {
"matrix.to": ["/"],
"www.matrix.to": ["/"],
// Client Permalinks (for use with `BuildSettings.clientPermalinkBaseUrl`)
// "clienturl.com": ["/"],
// "www.clienturl.com": ["/"],
// "example.com": ["/"],
// "www.example.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).
// Optional String that when set is used as permalink base, when nil matrix.to format is used.
// Example value would be "https://www.example.com", note there is no trailing '/'.
static let clientPermalinkBaseUrl: String? = nil
// MARK: - VoIP

1
changelog.d/4981.feature Normal file
View file

@ -0,0 +1 @@
Adds clientPermalinkBaseUrl for a custom permalink base url.