Change challenge policy for outgoing group updates

This commit is contained in:
Scott Nonnenberg 2024-02-29 18:05:06 -08:00 committed by GitHub
parent b40d052128
commit ba60c1a646
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}