From cdb68cd74b3938d053daee9ade4ea3ba72095ab5 Mon Sep 17 00:00:00 2001 From: Mohamed El-Sawy Date: Mon, 10 Feb 2025 15:41:47 +0200 Subject: [PATCH] CV2-6140: skip published check for status (#2209) --- 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