fix: Email notifications (#8502)

This commit is contained in:
Muhsin Keloth
2023-12-06 15:50:23 +05:30
committed by GitHub
parent db33b7d1dc
commit 6b0d1d77d3
3 changed files with 10 additions and 10 deletions

View File

@@ -9,7 +9,7 @@ class Notification::EmailNotificationService
# TODO : Clean up whatever happening over here
# Segregate the mailers properly
AgentNotifications::ConversationNotificationsMailer.with(account: notification.account).public_send(notification
.notification_type.to_s, notification.primary_actor, notification.user).deliver_now
.notification_type.to_s, notification.primary_actor, notification.user, notification.secondary_actor).deliver_later
end
private