Skip to content

Commit

Permalink
Merge pull request #3754 from eszkadev/private/eszkadev/is-guest
Browse files Browse the repository at this point in the history
Use new property for guest indication
  • Loading branch information
juliusknorr authored Jun 13, 2024
2 parents 874a88a + fd744b1 commit 1f64755
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 @@ -210,7 +210,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 1f64755

Please sign in to comment.