fix(offline): cold-boot offline from the persisted session + profile #199
@@ -112,7 +112,9 @@
|
||||
);
|
||||
|
||||
onMount(async () => {
|
||||
if (guest) return;
|
||||
// Offline mode offers only the local vs_ai flow (the friends section is hidden), and the network
|
||||
// is off, so skip the friend fetch — it would be refused by the transport and toast an error.
|
||||
if (guest || offlineMode.active) return;
|
||||
try {
|
||||
friends = await gateway.friendsList();
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user