Skip to content

Commit

Permalink
Merge pull request #3760 from nextcloud/backport/3754/stable28
Browse files Browse the repository at this point in the history
[stable28] Use new property for guest indication
  • Loading branch information
juliusknorr authored Jun 13, 2024
2 parents e561cc1 + 37b96d2 commit 8a42d67
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/Controller/WopiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 8a42d67

Please sign in to comment.