diff --git a/apps/federatedfilesharing/lib/Notifications.php b/apps/federatedfilesharing/lib/Notifications.php index 2a162abcd76..77a933796da 100644 --- a/apps/federatedfilesharing/lib/Notifications.php +++ b/apps/federatedfilesharing/lib/Notifications.php @@ -293,6 +293,7 @@ class Notifications { $status = json_decode($result['result'], true); if ($result['success'] && + isset($status['ocs']['meta']['statuscode']) && ($status['ocs']['meta']['statuscode'] === 100 || $status['ocs']['meta']['statuscode'] === 200 )