Browse Source

Hotfix (#220)

* add wss://student.chadpolytechnic.com

Adding Preston Pysh's Relay. Verification that it's his: https://twitter.com/PrestonPysh/status/1614635549662531584

* SSL Check and Kind 3 Management (#219)

* Add relay.nostr.scot

Add relay.nostr.scot

* Add rsslay.nostr.moe (#210)

A custom fork of the rss-bridge relay of fiatjaf [piraces/rsslay](https://github.com/piraces/rsslay)

Co-authored-by: Sandwich <299465+dskvr@users.noreply.github.com>

* remove e.e.

* kind3 editing, ssl, various improvements

* working relay list editor

* remove debugging

* move buttons

* show/hide button for logged in/out

* bugfix

* fix column issue

* remove debugging

* reduce wait time

* disable edit button while relays are refreshing

* add some gates

* resets after save

Co-authored-by: Paul Rollo <kingrollo@gmail.com>
Co-authored-by: Raul Piraces Alastuey <raul.piraces@gmail.com>
Co-authored-by: dskvr <dskvr@users.noreply.github.com>

* see policies outside of editor

* turn off yaml => json until toml is implemented

* only write meta to relays with write policy

* fixes

Co-authored-by: Suprateek Bose <18413760+SupraBo@users.noreply.github.com>
Co-authored-by: Paul Rollo <kingrollo@gmail.com>
Co-authored-by: Raul Piraces Alastuey <raul.piraces@gmail.com>
Co-authored-by: dskvr <dskvr@users.noreply.github.com>
main
Sandwich 2 years ago
committed by GitHub
parent
commit
25dedab593
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/components/relays/partials/NostrSync.vue
  2. 2
      src/store/user.js

4
src/components/relays/partials/NostrSync.vue

@ -163,7 +163,9 @@ export default defineComponent({
console.log('valid event?', ok, veryOk)
const pool = new RelayPool( Object.keys(this.store.user.kind3) )
const relaysWrite = Object.keys(this.store.user.kind3).filter( key => this.store.user.kind3[key].write)
const pool = new RelayPool( relaysWrite )
pool.on('open', relay=>{
relay.send(['EVENT', signedEvent])

2
src/store/user.js

@ -79,7 +79,7 @@ export const useUserStore = defineStore('user', {
if(obj instanceof Object && Object.keys(obj).length)
this.kind3 = obj
else
this.kind3 = Object.assign(this.kind3, await this.retrieveKind3())
this.kind3 = Object.assign(await this.retrieveKind3(), this.kind3)
},
setPublicKey: function(pubKey){ this.pubKey = pubKey },
setProfile: function(stringifiedEvContent){

Loading…
Cancel
Save