Skip to content
Snippets Groups Projects
Unverified Commit 7abb8559 authored by Christoph Wurst's avatar Christoph Wurst Committed by GitHub
Browse files

Merge pull request #3526 from nextcloud/fix/missing-account-mailbox-ids-message

Fix missing but expected accountId and mailboxId on message JSON
parents c866057b 3026e772
No related branches found
No related tags found
No related merge requests found
......@@ -233,6 +233,8 @@ class MessagesController extends Controller {
$a
);
}, $json['attachments']);
$json['accountId'] = $account->getId();
$json['mailboxId'] = $mailbox->getId();
$json['databaseId'] = $message->getId();
return new JSONResponse($json);
......
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