Improved sample of NextCloud Contacts Suggestions for #96

This commit is contained in:
the-djmaze 2022-10-10 18:41:15 +02:00
parent c3a95db495
commit a6d5f6ad91
2 changed files with 8 additions and 6 deletions

View file

@ -12,7 +12,7 @@ class NextcloudContactsSuggestions implements \RainLoop\Providers\Suggestions\IS
try
{
$sQuery = \trim($sQuery);
if ('' === $sQuery || !NextcloudPlugin::IsIntegrated()) {
if ('' === $sQuery) {
return [];
}