Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2018-10-09 18:15:30 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-10-10 11:05:07 +0300
commita94f7ccb80c8a04e8ffc7cee803adea70dd4bcb0 (patch)
tree383e422b047a4ccb4d1444daca44ae4892040943 /lib
parente8d3464db3306e18d571cfcd37ecf98270442790 (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.php2
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(),