feat: Ability to snooze conversations (#2682)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
@@ -164,7 +164,10 @@ class Message < ApplicationRecord
|
||||
end
|
||||
|
||||
def reopen_conversation
|
||||
conversation.open! if incoming? && conversation.resolved? && !conversation.muted?
|
||||
return if conversation.muted?
|
||||
return unless incoming?
|
||||
|
||||
conversation.open! if conversation.resolved? || conversation.snoozed?
|
||||
end
|
||||
|
||||
def execute_message_template_hooks
|
||||
|
||||
Reference in New Issue
Block a user