mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-02-15 07:28:59 +00:00
Challenge: remove obsolete option
This commit is contained in:
@@ -259,14 +259,7 @@ export class ChallengeHandler {
|
||||
log.info(`${logId}: tracking ${conversationId} with no waitTime`);
|
||||
}
|
||||
|
||||
if (
|
||||
data &&
|
||||
!(
|
||||
data.options?.includes('captcha') ||
|
||||
// 'recaptcha' is deprecated for removal in 90 days
|
||||
data.options?.includes('recaptcha')
|
||||
)
|
||||
) {
|
||||
if (data && !data.options?.includes('captcha')) {
|
||||
const dataString = JSON.stringify(data.options);
|
||||
log.error(
|
||||
`${logId}: unexpected options ${dataString}. ${conversationId} is waiting.`
|
||||
|
||||
Reference in New Issue
Block a user