From 32b78096ea9a391e5bb99691f12085bdd11d6d8f Mon Sep 17 00:00:00 2001 From: automated-signal <37887102+automated-signal@users.noreply.github.com> Date: Fri, 1 Mar 2024 12:32:28 -0600 Subject: [PATCH] Change challenge policy for outgoing group updates Co-authored-by: Scott Nonnenberg --- ts/jobs/conversationJobQueue.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ts/jobs/conversationJobQueue.ts b/ts/jobs/conversationJobQueue.ts index 1c95cabd68..9480b7ccc8 100644 --- a/ts/jobs/conversationJobQueue.ts +++ b/ts/jobs/conversationJobQueue.ts @@ -249,7 +249,7 @@ function shouldSendShowCaptcha(type: ConversationQueueJobEnum): boolean { return true; } if (type === 'GroupUpdate') { - return false; + return true; } if (type === 'NormalMessage') { return true; @@ -269,6 +269,8 @@ function shouldSendShowCaptcha(type: ConversationQueueJobEnum): boolean { if (type === 'SavedProto') { return false; } + // Note: this is only for out-of-band sender key distributions (see handleRetry.ts), + // not the ones attached to group sends if (type === 'SenderKeyDistribution') { return false; }