diff --git a/CHANGES.rst b/CHANGES.rst index 175587e81..1b5ec3c8d 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -13,6 +13,7 @@ Changes to be released in next version * Push: Fix PushKit crashes due to undecryptable call invites (#3986). * matrix.to: Cannot open links with query parameters (#3990). * matrix.to: Cannot open/preview a new room given by alias (#3991). + * matrix.to: The app does not open a permalink from matrix.to (#3993). ⚠️ API Changes * diff --git a/Riot/Modules/Application/LegacyAppDelegate.m b/Riot/Modules/Application/LegacyAppDelegate.m index 0a9c48783..5ea802c1a 100644 --- a/Riot/Modules/Application/LegacyAppDelegate.m +++ b/Riot/Modules/Application/LegacyAppDelegate.m @@ -1146,9 +1146,9 @@ NSString *const AppDelegateUniversalLinkDidChangeNotification = @"AppDelegateUni [[NSNotificationCenter defaultCenter] postNotificationName:AppDelegateUniversalLinkDidChangeNotification object:nil]; } - if ([webURL.path isEqualToString:@"/"]) + if ([self handleServerProvionningLink:webURL]) { - return [self handleServerProvionningLink:webURL]; + return YES; } NSString *validateEmailSubmitTokenPath = @"validate/email/submitToken";