mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 15:52:40 +00:00
[MXRestClient registerFallback] is no more an async method that makes a request to the home server to get the fallback URL.
It directly returns the register fallback URL
This commit is contained in:
parent
72a841adaa
commit
04fe4f3ef5
1 changed files with 1 additions and 6 deletions
|
@ -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]];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue