Fix typo when checking if user is invited to group
Fix typo when checking if user is invited to group

matrix-org/synapse,matrix-org/synapse,matrix-org/synapse,matrix-org/synapse,matrix-org/synapse,matrix-org/synapse