planetary-social / nos

nos.social social media for all of us, using nostr
https://nos.social
Mozilla Public License 2.0
123 stars 14 forks source link

Constrain relays to only ones that start with wss:// #129

Open rabble opened 1 year ago

rabble commented 1 year ago

There appear to be relays that users have referenced in their feeds that are bad data... we need to not blindly accept relays.... BBD96F85-FB4D-4BDF-8CC0-587FDD1B3374_1_201_a

mplorentz commented 1 year ago

Let's be careful to preserve this "bad data" in our published relay list, because we don't know when other clients may be supporting something we don't. We should hide them from the UI but keep them in Core Data so that when we publish an updated relay list they are preserved.

I'm thinking of use cases where clients do something like support tor onion nodes, or some other protocol for communication.