Use file inode for file ID

This commit is contained in:
bohwaz 2023-09-11 00:23:14 +02:00
parent c44b54d48e
commit f58482b053

View file

@ -170,8 +170,7 @@ class Storage extends AbstractStorage
return '';
case NextCloud::PROP_OC_ID:
// fileId is required by NextCloud desktop client
$username = $this->users->current()->login;
return NextCloud::getFileId($uri, $username);
return fileinode($target);
case NextCloud::PROP_OC_PERMISSIONS:
$permissions = [];