From 6cab8e45fa6a70b70e097f6bdaa9047abff074d3 Mon Sep 17 00:00:00 2001 From: Sawy Date: Mon, 10 Feb 2025 11:28:00 +0200 Subject: [PATCH] CV2-6140: skip published check for status --- app/models/bot/smooch.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/bot/smooch.rb b/app/models/bot/smooch.rb index 4cd14fcec..ceb8e1165 100644 --- a/app/models/bot/smooch.rb +++ b/app/models/bot/smooch.rb @@ -1059,6 +1059,7 @@ def self.replicate_status_to_children(pm_id, status, uid, tid) s = target.annotations.where(annotation_type: 'verification_status').last&.load next if s.nil? || s.status == status s.status = status + s.bypass_status_publish_check = true s.save! end User.current = nil