From 85f8d1353a599e39dcc2f72276fa90c4f1326acd 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 66cbd22bd9..3b3cd24232 100644 --- a/lib/Activity/ActivityManager.php +++ b/lib/Activity/ActivityManager.php @@ -560,7 +560,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; } } @@ -570,7 +570,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; } }