do not returns shared_with === currentUser
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
This commit is contained in:
parent
0166990f01
commit
749fdab3b0
|
@ -644,7 +644,7 @@ class ShareAPIController extends OCSController {
|
|||
$resharingRight = false;
|
||||
$known = [];
|
||||
foreach ($shares as $share) {
|
||||
if (in_array($share->getId(), $known)) {
|
||||
if (in_array($share->getId(), $known) || $share->getSharedWith() === $this->currentUser) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue