No feed when nos2x-fox gives an empty relay list #547

Closed
opened 2023-04-27 13:44:35 +00:00 by vivganes · 1 comment
Contributor

Describe the bug
When the nos2x-fox gives an empty relay list in window.nost.getRelays(), which seems to be the case when a new user logs in for the first time, snort is at a loss to show any info, because it is initialized with an empty relay list.

To Reproduce
Steps to reproduce the behavior:

  1. Install nos2x-fox
  2. Make sure your relay list in empty in the extension
  3. Login using NIP-07
  4. See an everloading screen with a weird error message (See screenshot below)

Expected behavior
Snort should initialize with the default set of relays

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows (I suspect Linux also suffers from this)
  • Browser Firefox
  • Version [e.g. 22]
**Describe the bug** When the nos2x-fox gives an empty relay list in `window.nost.getRelays()`, which seems to be the case when a new user logs in for the first time, snort is at a loss to show any info, because it is initialized with an empty relay list. **To Reproduce** Steps to reproduce the behavior: 1. Install nos2x-fox 2. Make sure your relay list in empty in the extension 3. Login using NIP-07 4. See an everloading screen with a weird error message (See screenshot below) **Expected behavior** Snort should initialize with the default set of relays **Screenshots** ![image](/attachments/5e210f40-303b-4b38-80b1-15180a93d866) **Desktop (please complete the following information):** - OS: Windows (I suspect Linux also suffers from this) - Browser Firefox - Version [e.g. 22]
Author
Contributor

I am going to submit a PR very soon to fix this.

I am going to submit a PR very soon to fix this.
Kieran referenced this issue from a commit 2023-04-27 14:04:52 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Kieran/snort#547
No description provided.