buddycloud / buddycloud-media-server

Share files in a buddycloud channel
http://buddycloud.com
28 stars 16 forks source link

If user has no affiliation we get an exception #89

Closed lloydwatkin closed 9 years ago

lloydwatkin commented 9 years ago

@abmargb can you confirm the logic in PubSubClient.matchUserCapability since flipping a return true/false didn't break any tests. It makes sense to me that node == null means false.

abmargb commented 9 years ago

Lack of coverage maybe? I agree that it should return false if node == null