diff --git a/lib/Controller/WopiController.php b/lib/Controller/WopiController.php index 1a768f938b..ea5d44c59d 100644 --- a/lib/Controller/WopiController.php +++ b/lib/Controller/WopiController.php @@ -282,7 +282,10 @@ public function checkFileInfo($fileId, $access_token) { } if ($isPublic) { - $response['UserExtraInfo']['is_guest'] = true; + $response['UserExtraInfo']['is_guest'] = true; // DEPRECATED + $response['IsAnonymousUser'] = true; + } else { + $response['IsAnonymousUser'] = false; } if ($wopi->isRemoteToken()) {