diff --git a/public/assets/js/remote_access.js b/public/assets/js/remote_access.js index b4aa098..2870964 100644 --- a/public/assets/js/remote_access.js +++ b/public/assets/js/remote_access.js @@ -519,14 +519,14 @@ const briefId = 'ra-brief-' + rowKey; const wl = Number(d.whitelisted) === 1; const optIn = d.opt_in_mode || 'none'; - const openReady = wl && (optIn === 'wireguard' || optIn === 'rssh'); + const openReady = wl && (optIn === 'wireguard' || optIn === 'rssh' || optIn === 'iodine'); const openHint = !canOperate() ? 'Need remote_access_operate permission' : !wl ? 'Whitelist device first' : openReady ? 'Open session — device connects on next poll (≤7 min)' - : 'Phone must poll with RSSH/WG enabled (dev settings on device; wait ≤7 min)'; + : 'Phone must poll with WireGuard/RSSH/Iodine enabled (dev settings on device; wait ≤7 min)'; const openDisabled = canOperate() ? '' : ' disabled'; const wlDisabled = canAdmin() ? '' : ' disabled'; const isOpen = lastExpanded.has(String(d.device_id || '')); @@ -708,11 +708,11 @@ setStatus('Whitelist device ' + openId + ' first', true); return; } - if (optIn !== 'wireguard' && optIn !== 'rssh') { + if (optIn !== 'wireguard' && optIn !== 'rssh' && optIn !== 'iodine') { setStatus( 'Device opt-in is "' + optIn + - '". On phone: dev settings → Remote access → RSSH, then wait for poll (≤7 min).', + '". On phone: dev settings → Remote access → WireGuard, RSSH, or Iodine, then wait for poll (≤7 min).', true ); return;