fix: Skip notifications for private notes (#13617)

When agents or integrations create private notes on a conversation,
every note was sending a notification to the assigned agent and all
conversation participants. The fix ensures that private notes no longer
trigger new message notifications. If someone explicitly mentions a
teammate in a private note, that person will still get notified as
expected.
This commit is contained in:
Muhsin Keloth
2026-02-23 15:40:54 +04:00
committed by GitHub
parent 40da358dc2
commit b220663785
3 changed files with 27 additions and 5 deletions

View File

@@ -14,7 +14,7 @@ module MessageFilterHelpers
end
def notifiable?
incoming? || outgoing?
(incoming? || outgoing?) && !private?
end
def conversation_transcriptable?