fix: private notes shouldn't reopen conversation

This commit is contained in:
aakashb95
2026-01-15 20:10:50 +05:30
parent ba2bcd53f0
commit c2a4ca2da0
+1
View File
@@ -393,6 +393,7 @@ class Message < ApplicationRecord
def open_conversation_on_human_response
return unless human_response?
return unless conversation.pending?
return if private?
conversation.open!
end