Skip to content

Commit

Permalink
matrix.to: The app does not open a permalink from matrix.to
Browse files Browse the repository at this point in the history
  • Loading branch information
manuroe committed Feb 2, 2021
1 parent e42a259 commit bcf5740
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down
4 changes: 2 additions & 2 deletions Riot/Modules/Application/LegacyAppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -1146,9 +1146,9 @@ - (BOOL)handleUniversalLink:(NSUserActivity*)userActivity
[[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";
Expand Down

0 comments on commit bcf5740

Please sign in to comment.