Fixed a possible JSONException when getting an inviteand removed the ability to accept invites (commit: 3b33384)