diff options
Diffstat (limited to 'lib/private/Contacts/ContactsMenu/Providers/ProfileProvider.php')
-rw-r--r-- | lib/private/Contacts/ContactsMenu/Providers/ProfileProvider.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); |