Show mail address in popover menu

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2017-04-03 14:59:07 +02:00
parent d091793ceb
commit e3efc4979b
1 changed files with 1 additions and 3 deletions

View File

@ -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);
}
}