do not send notifications for failed messages

This commit is contained in:
Tanmay Deep Sharma
2026-01-27 17:06:04 +05:30
parent 04b2901e1f
commit 08cefb2bb8
@@ -3,6 +3,7 @@ class Messages::NewMessageNotificationService
def perform
return unless message.notifiable?
return if message.status == 'failed'
notify_conversation_assignee
notify_participating_users