Skip to content

Commit

Permalink
Don't omit account/identity events when subscribers filter collection…
Browse files Browse the repository at this point in the history
…s, oops
  • Loading branch information
ericvolp12 committed Oct 4, 2024
1 parent 5eb8e86 commit d420dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/server/subscriber.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ func (s *Server) RemoveSubscriber(num int64) {

// WantsCollection returns true if the subscriber wants the given collection
func (sub *Subscriber) WantsCollection(collection string) bool {
if sub.wantedCollections == nil {
if sub.wantedCollections == nil || collection == "" {
return true
}

Expand Down

0 comments on commit d420dfe

Please sign in to comment.