Skip to content
Snippets Groups Projects
Commit f24b39c5 authored by Thomas Müller's avatar Thomas Müller
Browse files

Adding account mail to messages in unified inbox

parent b190979f
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,7 @@ class UnifiedMailbox implements IMailBox {
$messages = $inbox->getMessages($from, $count, $filter);
$messages = array_map(function($message) use ($account) {
$message['id'] = base64_encode(json_encode([$account->getId(), $message['id']]));
$message['accountMail'] = $account->getEmail();
return $message;
}, $messages);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment