fix: using an invite no longer incorrectly reports an error