We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8246ddd commit a404bb1Copy full SHA for a404bb1
management/server/peer.go
@@ -59,7 +59,7 @@ func (am *DefaultAccountManager) GetPeers(ctx context.Context, accountID, userID
59
return nil, fmt.Errorf("failed to get account settings: %w", err)
60
}
61
62
- if settings.RegularUsersViewBlocked {
+ if user.IsRestrictable() && settings.RegularUsersViewBlocked {
63
return []*nbpeer.Peer{}, nil
64
65
0 commit comments