mirror of
https://github.com/logos-messaging/go-libp2p-pubsub.git
synced 2026-01-07 23:33:08 +00:00
remove peer filter check from subscriptions (#453)
This commit is contained in:
parent
628353661b
commit
7ef0669764
@ -1001,10 +1001,6 @@ func (p *PubSub) handleIncomingRPC(rpc *RPC) {
|
|||||||
for _, subopt := range subs {
|
for _, subopt := range subs {
|
||||||
t := subopt.GetTopicid()
|
t := subopt.GetTopicid()
|
||||||
|
|
||||||
if !p.peerFilter(rpc.from, t) {
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
|
|
||||||
if subopt.GetSubscribe() {
|
if subopt.GetSubscribe() {
|
||||||
tmap, ok := p.topics[t]
|
tmap, ok := p.topics[t]
|
||||||
if !ok {
|
if !ok {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user