We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b431506 commit 34fc215Copy full SHA for 34fc215
apps/files_sharing/lib/Listener/SharesUpdatedListener.php
@@ -44,7 +44,12 @@ public function handle(Event $event): void {
44
if ($event instanceof FilesystemTornDownEvent) {
45
$this->updatedUsers = new CappedMemoryCache();
46
}
47
- if ($event instanceof UserAddedEvent || $event instanceof UserRemovedEvent || $event instanceof UserShareAccessUpdatedEvent) {
+ if ($event instanceof UserShareAccessUpdatedEvent) {
48
+ foreach ($event->getUsers() as $user) {
49
+ $this->updateForUser($user);
50
+ }
51
52
+ if ($event instanceof UserAddedEvent || $event instanceof UserRemovedEvent) {
53
$this->updateForUser($event->getUser());
54
55
if ($event instanceof ShareCreatedEvent || $event instanceof BeforeShareDeletedEvent) {
0 commit comments