stop closing publishstatus connection and subscriptions.

I'm not sure about this but it seems to work better this way.
This commit is contained in:
fiatjaf 2022-05-01 21:11:42 -03:00
parent 16c874cb8d
commit 5d1a29d135

View File

@ -272,8 +272,6 @@ func (r *RelayPool) PublishEvent(evt *Event) (*Event, chan PublishStatus, error)
}
break
}
subscription.Unsub()
close(status)
}(relay, conn)
}