mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-23 16:06:38 +02:00
Adapt new path
This commit is contained in:
+2
-2
@@ -1229,7 +1229,7 @@ NSString *const AppDelegateUniversalLinkDidChangeNotification = @"AppDelegateUni
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:AppDelegateUniversalLinkDidChangeNotification object:nil];
|
||||
}
|
||||
|
||||
if ([webURL.path hasPrefix:@"/config"])
|
||||
if ([webURL.path length] == 0)
|
||||
{
|
||||
return [self handleServerProvionningLink:webURL];
|
||||
}
|
||||
@@ -1772,7 +1772,7 @@ NSString *const AppDelegateUniversalLinkDidChangeNotification = @"AppDelegateUni
|
||||
|
||||
- (void)parseServerProvionningLink:(NSURL*)link homeserver:(NSString**)homeserver identityServer:(NSString**)identityServer
|
||||
{
|
||||
if ([link.path isEqualToString:@"/config/config"])
|
||||
if ([link.path length] == 0)
|
||||
{
|
||||
NSURLComponents *linkURLComponents = [NSURLComponents componentsWithURL:link resolvingAgainstBaseURL:NO];
|
||||
for (NSURLQueryItem *item in linkURLComponents.queryItems)
|
||||
|
||||
Reference in New Issue
Block a user