From 3b9575b94b5360b50af156dbea2fd750f22d7c06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cau=C3=AA=20Faleiros?= Date: Thu, 26 Nov 2026 14:10:47 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20declining=20"Outra=20pessoa=20est=C3=A1?= =?UTF-8?q?=20nesta=20m=C3=A1quina"=20just=20leaves=20the=20chooser=20open?= =?UTF-8?q?=20(DTF-WEB-1V)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 (1M context) --- web/kanban-users.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/kanban-users.js b/web/kanban-users.js index bc154b6..7b87281 100644 --- a/web/kanban-users.js +++ b/web/kanban-users.js @@ -39,7 +39,8 @@ function askMachine(again=false){ // Someone else on the machine is a question, not an error (Sentry DTF-WEB-1J). try{await api('/me/machine',{machine_id:id,confirm},{expected:confirm?[]:[409]});m.close();await load(true);} catch(e){ - if(e.status===409&&!confirm&&await ask('Outra pessoa está nesta máquina',e.message,'Continuar mesmo assim'))return choose(id,true); + // Declined: the person stays on the chooser, nothing to say (Sentry DTF-WEB-1V). + if(e.status===409&&!confirm)return await ask('Outra pessoa está nesta máquina',e.message,'Continuar mesmo assim')?choose(id,true):undefined; // No network (an iPhone between Wi-Fi and data, Sentry DTF-WEB-1Q): a // warning to try again, not an error; load() reports one that lasts. if(e.offline){say('Sem conexão com o servidor. Confira a internet e escolha a máquina de novo.');return;}