From b8643106b89d0da17825353571a61575855a9fc7 Mon Sep 17 00:00:00 2001 From: Luka Trovic Date: Wed, 1 Jul 2026 11:40:50 +0200 Subject: [PATCH] fix: loading notifications Signed-off-by: Luka Trovic --- lib/Activity/ActivityManager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Activity/ActivityManager.php b/lib/Activity/ActivityManager.php index eab19da3b1..2c7c0c4c3e 100644 --- a/lib/Activity/ActivityManager.php +++ b/lib/Activity/ActivityManager.php @@ -565,7 +565,7 @@ public function canSeeCardActivity(int $cardId, string $userId): bool { $this->permissionService->checkPermission($this->cardMapper, $cardId, Acl::PERMISSION_READ, $userId); $card = $this->cardMapper->find($cardId); return $card->getDeletedAt() === 0; - } catch (NoPermissionException $e) { + } catch (NoPermissionException|DoesNotExistException $e) { return false; } } @@ -575,7 +575,7 @@ public function canSeeBoardActivity(int $boardId, string $userId): bool { $this->permissionService->checkPermission($this->boardMapper, $boardId, Acl::PERMISSION_READ, $userId); $board = $this->boardMapper->find($boardId); return $board->getDeletedAt() === 0; - } catch (NoPermissionException $e) { + } catch (NoPermissionException|DoesNotExistException $e) { return false; } }