Show mail address in popover menu

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pull/3233/head
Christoph Wurst 8 years ago
parent d091793ceb
commit e3efc4979b
  1. 4
      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);
}
}

Loading…
Cancel
Save