Fix connection invite code style issues