mirror of
https://github.com/fiatjaf/nak.git
synced 2026-10-05 23:28:23 +00:00
git: fix first publishing of a new repository announcement.
This commit is contained in:
@@ -1009,7 +1009,7 @@ func gitSync(ctx context.Context, signer nostr.Keyer) (nip34.Repository, *nip34.
|
||||
repo = localRepo
|
||||
}
|
||||
|
||||
for res := range sys.Pool.PublishMany(ctx, relays, *upToDateAnnouncementEvent) {
|
||||
for res := range sys.Pool.PublishMany(ctx, relays, event) {
|
||||
if res.Error != nil {
|
||||
log("! error publishing to %s: %v\n", color.YellowString(res.RelayURL), res.Error)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user