fix horribly broken invite code, could lead to inviting the wrong person to a conversation