Skip to content

Commit

Permalink
fixup! fix(files): Do not require files_trashbin in live photo sync l…
Browse files Browse the repository at this point in the history
…istener
  • Loading branch information
artonge committed Apr 3, 2024
1 parent 76beffd commit 063d45c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files/lib/Listener/SyncLivePhotosListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function handle(Event $event): void {
} elseif ($event instanceof BeforeNodeDeletedEvent) {
$peerFileId = $this->livePhotosService->getLivePhotoPeerId($event->getNode()->getId());
} elseif ($event instanceof CacheEntryRemovedEvent) {
$peerFile = $this->getLivePhotoPeer($event->getFileId());
$peerFileId = $this->livePhotosService->getLivePhotoPeerId($event->getFileId());
}

if ($peerFileId === null) {
Expand Down

0 comments on commit 063d45c

Please sign in to comment.