Merge pull request #3039 from schultetwin/dont_exit_app_for_sso

AuthFallback: Stay in Riot App
This commit is contained in:
manuroe 2020-04-01 15:57:31 +02:00 committed by GitHub
commit bbecff21b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 8 deletions

View file

@ -17,6 +17,7 @@ Bug fix:
* Fix error when joining some public rooms, thanks to @chrismoos (PR #2888).
* Fix crash due to malformed widget (#2997).
* Push notifications: Avoid any automatic deactivation (vector-im/riot-ios#3017).
* Fix links breaking user out of SSO flow.
Changes in 0.10.4 (2019-12-11)
===============================================

View file

@ -203,14 +203,6 @@ NSString *FallBackViewControllerJavascriptOnLogin = @"window.matrixLogin.onLogin
return;
}
if (navigationAction.navigationType == WKNavigationTypeLinkActivated)
{
// Open links outside the app
[[UIApplication sharedApplication] openURL:navigationAction.request.URL options:@{} completionHandler:nil];
decisionHandler(WKNavigationActionPolicyCancel);
return;
}
decisionHandler(WKNavigationActionPolicyAllow);
}