diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2017-04-03 14:59:07 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2017-04-25 20:47:17 +0200 |
commit | e3efc4979be7319a67dd63bda02aa8e0cc1eed26 (patch) | |
tree | 636acd07b454f5b2a6ff3e144c3c2128e74e8e0b /lib/private/Contacts | |
parent | d091793ceb1ab2a60133608e844e1d83a5de19f2 (diff) | |
download | nextcloud-server-e3efc4979be7319a67dd63bda02aa8e0cc1eed26.tar.gz nextcloud-server-e3efc4979be7319a67dd63bda02aa8e0cc1eed26.zip |
Show mail address in popover menu
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/Contacts')
-rw-r--r-- | lib/private/Contacts/ContactsMenu/Providers/EMailProvider.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/private/Contacts/ContactsMenu/Providers/EMailProvider.php b/lib/private/Contacts/ContactsMenu/Providers/EMailProvider.php index c74bdc0b8ff..18e7ad8cddb 100644 --- a/lib/private/Contacts/ContactsMenu/Providers/EMailProvider.php +++ b/lib/private/Contacts/ContactsMenu/Providers/EMailProvider.php @@ -46,9 +46,7 @@ class EMailProvider implements IProvider { public function process(IEntry $entry) { foreach ($entry->getEMailAddresses() as $address) { // TODO: absolute path - // TODO: meaningful URL - // TODO: l10n - $action = $this->actionFactory->newEMailAction('icon-mail', 'Mail', $address); + $action = $this->actionFactory->newEMailAction('icon-mail', $address, $address); $entry->addAction($action); } } |