Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion lib/private/Sharing/SharingManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,10 @@ public function updateShareUserStatus(ShareAccessContext $accessContext, Share $
throw new ShareInvalidException('Cannot set user status for the owner of the share.', $this->l10n->t('Cannot set user status for the owner of the share.'));
}

// We don't update the share last updated value, because the user status is not part of the share itself.
// We update the share last updated value, even though the user status is not part of the share itself,
// so we can use the last updated value to coordinate syncing between unified and legacy shares.
$time = $this->getTime();
$this->backend->setLastUpdated([$share->id], $time);

$this->backend->updateShareUserStatus($share->id, $currentUser->getUID(), $userStatus);

Expand Down
Loading