mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-03 20:48:07 +00:00 
			
		
		
		
	fix: Always reset CC/BCC emails when switching conversations (#8157)
This commit is contained in:
		@@ -511,6 +511,8 @@ export default {
 | 
				
			|||||||
    currentChat(conversation) {
 | 
					    currentChat(conversation) {
 | 
				
			||||||
      const { can_reply: canReply } = conversation;
 | 
					      const { can_reply: canReply } = conversation;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      this.setCCAndToEmailsFromLastChat();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      if (this.isOnPrivateNote) {
 | 
					      if (this.isOnPrivateNote) {
 | 
				
			||||||
        return;
 | 
					        return;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
@@ -521,7 +523,6 @@ export default {
 | 
				
			|||||||
        this.replyType = REPLY_EDITOR_MODES.NOTE;
 | 
					        this.replyType = REPLY_EDITOR_MODES.NOTE;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      this.setCCAndToEmailsFromLastChat();
 | 
					 | 
				
			||||||
      this.fetchAndSetReplyTo();
 | 
					      this.fetchAndSetReplyTo();
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    conversationIdByRoute(conversationId, oldConversationId) {
 | 
					    conversationIdByRoute(conversationId, oldConversationId) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user