Remove the deprecated invite API
OnUserPreJoin is a local-only hook, change User* parameter to LocalUser*