Modular integrations UI: Display the webpage in fullscreen

This commit is contained in:
manuroe
2017-09-15 13:55:33 +02:00
parent f807790560
commit 7522f3750d
2 changed files with 6 additions and 1 deletions
@@ -203,6 +203,11 @@ const NSString *kJavascriptSendResponseToModular = @"riotIOS.sendResponse('%@',
MXJSONModelSetString(userId, eventData[@"user_id"]);
MXJSONModelSetString(action, eventData[@"action"]);
if ([action isEqualToString:@"close_scalar"])
{
[self withdrawViewControllerAnimated:YES completion:nil];
}
if (!roomIdInEvent)
{
[self sendLocalisedError:@"widget_integration_missing_room_id" toEvent:eventData];