Fix repeated login and forwarding alerts; add detached fullscreen controls

This commit is contained in:
alberto committed 2026-10-23 18:00:33 +02:00
1 parent c98c67e18b
commit 0668a73d40
6 files changed
+37 -6

No files matched your search

+1 -1
View File
@@ -46,6 +46,6 @@ export class WinlinkRadio{
if(streams.length||(!h?.endedAt&&age<45000)){await this.persist();return;}
const current=await this.currentProfile();if(profilePayload(current)!==profilePayload(j.temporary)&&profilePayload(current)!==profilePayload(j.original)){j.state='conflict';j.error='Il profilo RMS è stato modificato durante la sessione: ripristino automatico sospeso';await this.persist();return;}
if(profilePayload(current)!==profilePayload(j.original))await this.saveNative(j.original);
await releasePacketSlot(this);j.restoring=false;j.endedAt=h?.endedAt||new Date().toISOString();j.state=h?.status||'failed';if(!h)j.error='BPQ non ha registrato l’avvio della sessione';this.fwd.lockedPeers.delete(j.peer);await this.persist();
await releasePacketSlot(this);j.restoring=false;j.endedAt=h?.endedAt||new Date().toISOString();j.state=h?.status||'failed';if(!h&&!j.error)j.error='BPQ non ha registrato l’avvio della sessione';this.fwd.lockedPeers.delete(j.peer);await this.persist();
});}catch{this.job.error='Ripristino del profilo RMS in attesa: BPQ non disponibile';}finally{this.busy=false;}}
}