diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-10-09 18:15:30 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-10-10 11:05:07 +0300 |
commit | a94f7ccb80c8a04e8ffc7cee803adea70dd4bcb0 (patch) | |
tree | 383e422b047a4ccb4d1444daca44ae4892040943 /lib | |
parent | e8d3464db3306e18d571cfcd37ecf98270442790 (diff) |
Post Marionette attachment code to Vue
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Model/IMAPMessage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Model/IMAPMessage.php b/lib/Model/IMAPMessage.php index 6f18deda0..96d3a5abc 100644 --- a/lib/Model/IMAPMessage.php +++ b/lib/Model/IMAPMessage.php @@ -371,7 +371,7 @@ class IMAPMessage implements IMessage, JsonSerializable { return; } $this->attachments[] = [ - 'id' => $p->getMimeId(), + 'id' => (int) $p->getMimeId(), 'messageId' => $this->messageId, 'fileName' => $filename, 'mime' => $p->getType(), |