feat: add migration dialog 1 (MESSENGER-7553)

This commit is contained in:
Jan Niklas Grabowski
2025-09-17 17:34:29 +02:00
parent 00d9048124
commit bed94efd52
15 changed files with 375 additions and 20 deletions

View File

@@ -250,7 +250,11 @@ class AuthenticationService: NSObject {
if let wellKnown = try? await wellKnown(for: homeserverURL) {
self.wellknown = wellKnown
wellknown?.updateFederationStatus()
// BWI #7564 add migration level
if let migrationLevel = wellknown?.migrationInfoLevel() {
BWIBuildSettings.shared.BuMXMigrationInfoLevel = migrationLevel
}
// BWI #7564 END
if let baseURL = URL(string: wellKnown.homeServer.baseUrl) {
homeserverURL = baseURL
}