From 238cd088a5822545d005ae06dd74078955219738 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sun, 21 Apr 2024 17:44:31 -0300 Subject: [PATCH] add nostrrr for profile browsing. --- clients.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/clients.go b/clients.go index fa7b505..2074601 100644 --- a/clients.go +++ b/clients.go @@ -26,9 +26,10 @@ var ( iris = ClientReference{ID: "iris", Name: "Iris", Base: "https://iris.to/{code}", Platform: "web"} coracle = ClientReference{ID: "coracle", Name: "Coracle", Base: "https://coracle.social/{code}", Platform: "web"} - zapStream = ClientReference{ID: "zap.stream", Name: "zap.stream", Base: "https://zap.stream/{code}", Platform: "web"} - nostrrr = ClientReference{ID: "nostrrr", Name: "Nostrrr", Base: "https://nostrrr.com/relay/{code}", Platform: "web"} - flockstr = ClientReference{ID: "flockstr", Name: "Flockstr", Base: "https://www.flockstr.com/event/{code}", Platform: "web"} + zapStream = ClientReference{ID: "zap.stream", Name: "zap.stream", Base: "https://zap.stream/{code}", Platform: "web"} + nostrrrRelay = ClientReference{ID: "nostrrr", Name: "Nostrrr", Base: "https://nostrrr.com/relay/{code}", Platform: "web"} + nostrrrProfile = ClientReference{ID: "nostrrr", Name: "Nostrrr", Base: "https://nostrrr.com/p/{code}", Platform: "web"} + flockstr = ClientReference{ID: "flockstr", Name: "Flockstr", Base: "https://www.flockstr.com/event/{code}", Platform: "web"} yakihonne = ClientReference{ID: "yakihonne", Name: "YakiHonne", Base: "https://yakihonne.com/article/{code}", Platform: "web"} habla = ClientReference{ID: "habla", Name: "Habla", Base: "https://habla.news/a/{code}", Platform: "web"} @@ -60,7 +61,7 @@ func generateClientList( case -1: // relays clients = []ClientReference{ native, - coracle, nostrrr, + coracle, nostrrrRelay, } case 1, 6: clients = []ClientReference{ @@ -72,8 +73,8 @@ func generateClientList( case 0: clients = []ClientReference{ native, - nosta, coracle, snort, nostter, nostrudel, primalWeb, satellite, iris, - nos, damus, nostur, primalIOS, freeFromIOS, plebstrIOS, + nostrrrProfile, nosta, coracle, snort, nostter, nostrudel, primalWeb, + satellite, iris, nos, damus, nostur, primalIOS, freeFromIOS, plebstrIOS, yanaAndroid, springAndroid, amethyst, currentAndroid, plebstrAndroid, freeFromAndroid, } case 30023, 30024: