Skip to content

Commit

Permalink
Merge branch 'main' into task-nip47
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed May 30, 2024
2 parents 918429e + 8e2c2cb commit 3a3abd9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/nostr/nostr.go
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,9 @@ func (svc *Service) getRelayConnection(ctx context.Context, customRelayURL strin
} else {
svc.Logger.Info("Lost connection to default relay, reconnecting...")
relay, err := nostr.RelayConnect(svc.Ctx, svc.Cfg.DefaultRelayURL)
svc.Relay = relay
if err == nil {
svc.Relay = relay
}
return svc.Relay, false, err
}
}
Expand Down

0 comments on commit 3a3abd9

Please sign in to comment.