remove conn field from subscription.

This commit is contained in:
fiatjaf 2023-06-22 09:12:35 -03:00
parent 030c1d1898
commit 68648a16b9
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1
2 changed files with 0 additions and 2 deletions

View File

@ -466,7 +466,6 @@ func (r *Relay) PrepareSubscription(ctx context.Context, filters Filters, opts .
Relay: r,
Context: ctx,
cancel: cancel,
conn: r.Connection,
counter: int(current),
Events: make(chan *Event),
EndOfStoredEvents: make(chan struct{}),

View File

@ -10,7 +10,6 @@ import (
type Subscription struct {
label string
counter int
conn *Connection
Relay *Relay
Filters Filters