Skip to content

Commit

Permalink
Use new property for guest indication
Browse files Browse the repository at this point in the history
Signed-off-by: Szymon Kłos <[email protected]>
  • Loading branch information
eszkadev authored and backportbot[bot] committed Jun 13, 2024
1 parent c469347 commit d6a7433
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 d6a7433

Please sign in to comment.