summaryrefslogtreecommitdiffstats
path: root/lib/private/Contacts/ContactsMenu/Providers
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-10-20 14:43:45 +0200
committerJoas Schilling <coding@schilljs.com>2021-10-20 14:47:28 +0200
commit7f1dc52a66088a4478aa52708e62fbc2ffa7cb57 (patch)
treecfd3324607e083e2c981cca609861ed842571aac /lib/private/Contacts/ContactsMenu/Providers
parent5e23800a95290f5e4ca4d5eac8fa222b1ca34a34 (diff)
downloadnextcloud-server-7f1dc52a66088a4478aa52708e62fbc2ffa7cb57.tar.gz
nextcloud-server-7f1dc52a66088a4478aa52708e62fbc2ffa7cb57.zip
Change origin field to appId
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Contacts/ContactsMenu/Providers')
-rw-r--r--lib/private/Contacts/ContactsMenu/Providers/EMailProvider.php2
-rw-r--r--lib/private/Contacts/ContactsMenu/Providers/ProfileProvider.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Contacts/ContactsMenu/Providers/EMailProvider.php b/lib/private/Contacts/ContactsMenu/Providers/EMailProvider.php
index 9ae323c18c3..d69f219e84c 100644
--- a/lib/private/Contacts/ContactsMenu/Providers/EMailProvider.php
+++ b/lib/private/Contacts/ContactsMenu/Providers/EMailProvider.php
@@ -54,7 +54,7 @@ class EMailProvider implements IProvider {
// Skip
continue;
}
- $action = $this->actionFactory->newEMailAction($iconUrl, $address, $address);
+ $action = $this->actionFactory->newEMailAction($iconUrl, $address, $address, 'email');
$entry->addAction($action);
}
}
diff --git a/lib/private/Contacts/ContactsMenu/Providers/ProfileProvider.php b/lib/private/Contacts/ContactsMenu/Providers/ProfileProvider.php
index 4882c0ac883..88370f193a1 100644
--- a/lib/private/Contacts/ContactsMenu/Providers/ProfileProvider.php
+++ b/lib/private/Contacts/ContactsMenu/Providers/ProfileProvider.php
@@ -83,7 +83,7 @@ class ProfileProvider implements IProvider {
$iconUrl = $this->urlGenerator->getAbsoluteURL($this->urlGenerator->imagePath('core', 'actions/profile.svg'));
$profileActionText = $this->l10nFactory->get('core')->t('View profile');
$profileUrl = $this->urlGenerator->linkToRouteAbsolute('core.ProfilePage.index', ['targetUserId' => $targetUserId]);
- $action = $this->actionFactory->newLinkAction($iconUrl, $profileActionText, $profileUrl);
+ $action = $this->actionFactory->newLinkAction($iconUrl, $profileActionText, $profileUrl, 'profile');
// Set highest priority (by descending order), other actions have the default priority 10 as defined in lib/private/Contacts/ContactsMenu/Actions/LinkAction.php
$action->setPriority(20);
$entry->addAction($action);