Fix login crash on Xcode 14 builds

Fixes #6722
This commit is contained in:
Johannes Marbach 2022-09-15 21:20:47 +02:00
parent 75bd23d94a
commit 2a9d7c9d9c
2 changed files with 2 additions and 1 deletions

View file

@ -51,7 +51,7 @@ class LoginWizard {
/// - deviceID: The device ID, optional. If not provided or nil, the server will generate one.
/// - removeOtherAccounts: If set to true, existing accounts with different user identifiers will be removed.
/// - Returns: An `MXSession` if the login is successful.
func login(login: String,
@MainActor func login(login: String,
password: String,
initialDeviceName: String,
deviceID: String? = nil,

1
changelog.d/6722.bugfix Normal file
View file

@ -0,0 +1 @@
Fix login crash on Xcode 14 builds