[bug]fix can not invite other users
Merge pull request #187 from peterzd/fix_invitaion

[bug]fix can not invite other users