From ba60c1a646216fdd4e8284fc0c41b754fb725fc9 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Thu, 29 Feb 2024 18:05:06 -0800 Subject: [PATCH] Change challenge policy for outgoing group updates --- 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; }