Browse Source

Publish, for real

imwald
Nuša Pukšič 3 months ago
parent
commit
d86c9790af
  1. 2
      src/Service/NostrClient.php

2
src/Service/NostrClient.php

@ -176,7 +176,7 @@ class NostrClient
// If no relays, fetch relays for user then post to those // If no relays, fetch relays for user then post to those
if (empty($relays)) { if (empty($relays)) {
$key = new Key(); $key = new Key();
$relays = $this->redisCacheService->getRelays($key->convertPublicKeyToBech32($event->getPublicKey())); $relays = $this->getTopReputableRelaysForAuthor($key->convertPublicKeyToBech32($event->getPublicKey()), 5);
} }
$relaySet = new RelaySet(); $relaySet = new RelaySet();

Loading…
Cancel
Save