Make the plugin works with invitations