remove conn field from subscription.

This commit is contained in:
fiatjaf
2023-06-22 09:12:35 -03:00
parent 030c1d1898
commit 68648a16b9
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, Relay: r,
Context: ctx, Context: ctx,
cancel: cancel, cancel: cancel,
conn: r.Connection,
counter: int(current), counter: int(current),
Events: make(chan *Event), Events: make(chan *Event),
EndOfStoredEvents: make(chan struct{}), EndOfStoredEvents: make(chan struct{}),

View File

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