fix npe
interpret null canPublicJoin as false
Merge pull request #672 from jay-hodgson/release-20

fix npe in view