Bug fixes
* Invitation canceling caused server crash
* Client didn't get right information about invitation status