The logic here can be done the other way around: https://github.com/goinstant/chat/blob/755afa46b755cb7588680e4dd6561e2f3c406048/lib/view.js#L106

first check for the collpased param on the userObj, if it does not exist use the default of `false`