diff --git a/apps/files_sharing/lib/propagation/changewatcher.php b/apps/files_sharing/lib/propagation/changewatcher.php index 4c6e9f89cb..3988eddf6f 100644 --- a/apps/files_sharing/lib/propagation/changewatcher.php +++ b/apps/files_sharing/lib/propagation/changewatcher.php @@ -48,6 +48,8 @@ class ChangeWatcher { } $info = $this->baseView->getFileInfo($path); if ($info) { + // trigger propagation if the subject of the write hook is shared. + // if a parent folder of $path is shared the propagation will be triggered from the change propagator hooks $this->recipientPropagator->propagateById($info->getId()); } }