Fix for inviting attendees to events using email
Description
-
Resolves https://gitlab.e.foundation/e/infra/backlog/-/issues/4198
-
Search is currently done on system addressbook which takes a long long time with 450k+ users in it (see https://gitlab.e.foundation/e/infra/backlog/-/issues/4198#note_719663)
-
Also system results are removed from the results anyway as per https://gitlab.e.foundation/e/infra/ecloud/nextcloud-apps/calendar/-/blob/murena-main/lib/Controller/ContactController.php?ref_type=heads#L107 so this is just a way to slow the search down
- So our change has no effect on the actual results but speeds up the search
-
The reported bug is resolved with this as it is a result of extremely slow contacts search as shown in the investigation on the issue
-
Added PR to upstream in https://github.com/nextcloud/calendar/pull/7299