mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
Integrations: Make code support use of an integration manager other than modular/scalar.
The default value is still modular/scalar.
This commit is contained in:
@@ -190,7 +190,7 @@ NSString *const kJavascriptSendResponseToPostMessageAPI = @"riotIOS.sendResponse
|
||||
NSLog(@"[WidgetVC] decidePolicyForNavigationResponse: statusCode: %@", @(response.statusCode));
|
||||
}
|
||||
|
||||
if (response.statusCode == 403 && [WidgetManager isScalarUrl:self.URL])
|
||||
if (response.statusCode == 403 && [[WidgetManager sharedManager] isScalarUrl:self.URL forUser:self.widget.mxSession.myUser.userId])
|
||||
{
|
||||
[self fixScalarToken];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user