From 9e17a0e65d86fba6cd1d3f8eaee752ea7464c7c4 Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Tue, 21 Oct 2025 08:36:24 +0200 Subject: [PATCH] :bug: Fix unread comments --- backend/src/app/rpc/commands/comments.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/app/rpc/commands/comments.clj b/backend/src/app/rpc/commands/comments.clj index 7043064cfc..b3cd18783e 100644 --- a/backend/src/app/rpc/commands/comments.clj +++ b/backend/src/app/rpc/commands/comments.clj @@ -296,7 +296,8 @@ notify (or (-> profile :props :notifications :dashboard-comments) :all) result (case notify :all (db/exec! cfg [sql:unread-all-comment-threads-by-team profile-id team-id]) - :partial (db/exec! cfg [sql:unread-partial-comment-threads-by-team profile-id team-id profile-id profile-id]))] + :partial (db/exec! cfg [sql:unread-partial-comment-threads-by-team profile-id team-id profile-id profile-id]) + [])] (into [] xf-decode-row result))) (def ^:private