diff options
author | Ivan Sein <ivan@struktur.de> | 2017-04-26 13:12:44 +0300 |
---|---|---|
committer | Ivan Sein <ivan@struktur.de> | 2017-04-26 13:12:44 +0300 |
commit | 822ff12de632e5683e3a92ea4baf4b4d353ead41 (patch) | |
tree | 16ce89df08f64bb05af694202571e2682a3acfeb /lib/ContactsMenu/Providers | |
parent | c960e4e25c16b0d2d54c0396ab4f11e19192414c (diff) |
Ignore not internal users.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
Diffstat (limited to 'lib/ContactsMenu/Providers')
-rw-r--r-- | lib/ContactsMenu/Providers/CallProvider.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/ContactsMenu/Providers/CallProvider.php b/lib/ContactsMenu/Providers/CallProvider.php index a879127ce..353c7e994 100644 --- a/lib/ContactsMenu/Providers/CallProvider.php +++ b/lib/ContactsMenu/Providers/CallProvider.php @@ -65,6 +65,11 @@ class CallProvider implements IProvider { return; } + if ($entry->getProperty('isLocalSystemBook') === true) { + // Not internal user + return; + } + $iconUrl = $this->urlGenerator->getAbsoluteURL($this->urlGenerator->imagePath('core', 'actions/video.svg')); $callUrl = $this->urlGenerator->getAbsoluteURL('/index.php/apps/spreed/'); $action = $this->actionFactory->newLinkAction($iconUrl, $this->l10n->t('Video Call'), $callUrl); |