feat: Handle notification.deleted action cable event (#8501)

This commit is contained in:
Muhsin Keloth
2023-12-06 16:49:00 +05:30
committed by GitHub
parent 6b0d1d77d3
commit bf49a17efa
8 changed files with 51 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
class AgentNotifications::ConversationNotificationsMailer < ApplicationMailer
def conversation_creation(conversation, agent)
def conversation_creation(conversation, agent, _user)
return unless smtp_config_set_or_development?
@agent = agent
@@ -9,7 +9,7 @@ class AgentNotifications::ConversationNotificationsMailer < ApplicationMailer
send_mail_with_liquid(to: @agent.email, subject: subject) and return
end
def conversation_assignment(conversation, agent)
def conversation_assignment(conversation, agent, _user)
return unless smtp_config_set_or_development?
@agent = agent