diff --git a/matrixConsole/matrixConsole/ViewController/AuthenticationViewController.m b/matrixConsole/matrixConsole/ViewController/AuthenticationViewController.m index 929ef0dcd..f76ee9d17 100644 --- a/matrixConsole/matrixConsole/ViewController/AuthenticationViewController.m +++ b/matrixConsole/matrixConsole/ViewController/AuthenticationViewController.m @@ -261,12 +261,7 @@ // }]; // Currently no registration flow are supported, we switch directly to the fallback page - mxCurrentOperation = [mxHandler.mxRestClient registerFallback:^(NSString *fallback) { - [self showRegistrationFallBackView:fallback]; - } failure:^(NSError *error) { - NSLog(@"[AuthenticationVC] Failed to get Register fallback: %@", error); - [self onFailureDuringMXOperation:error]; - }]; + [self showRegistrationFallBackView:[mxHandler.mxRestClient registerFallback]]; } }