Change challenge policy for outgoing group updates

Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
automated-signal 2024-03-01 12:32:39 -06:00 committed by GitHub
parent 6b0c63fccc
commit 1207d64f72
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;
}