mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-07-16 22:42:19 +02:00
nip46: label subscription.
This commit is contained in:
@ -120,7 +120,7 @@ func NewBunker(
|
|||||||
Since: &now,
|
Since: &now,
|
||||||
LimitZero: true,
|
LimitZero: true,
|
||||||
},
|
},
|
||||||
})
|
}, nostr.WithLabel("bunker46client"))
|
||||||
for ie := range events {
|
for ie := range events {
|
||||||
if ie.Kind != nostr.KindNostrConnect {
|
if ie.Kind != nostr.KindNostrConnect {
|
||||||
continue
|
continue
|
||||||
@ -151,6 +151,7 @@ func NewBunker(
|
|||||||
|
|
||||||
if dispatcher, ok := bunker.listeners.Load(resp.ID); ok {
|
if dispatcher, ok := bunker.listeners.Load(resp.ID); ok {
|
||||||
dispatcher <- resp
|
dispatcher <- resp
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
Reference in New Issue
Block a user