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/Model
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-12-12 17:27:03 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-12-16 12:11:39 +0300
commit59797e9ce4166c6ff65a49675d6fbf59327d2ce1 (patch)
treed20e8430d00f9aff11fb456f821c5f2da973b9fb /lib/Model
parent12b87bf146e874725013d9c2f133550c740ca2aa (diff)
Treat MIME part IDs as strings, not ints
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Model')
-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 305814d7f..506fe526f 100644
--- a/lib/Model/IMAPMessage.php
+++ b/lib/Model/IMAPMessage.php
@@ -342,7 +342,7 @@ class IMAPMessage implements IMessage, JsonSerializable {
return;
}
$this->attachments[] = [
- 'id' => (int) $p->getMimeId(),
+ 'id' => $p->getMimeId(),
'messageId' => $this->messageId,
'fileName' => $filename,
'mime' => $p->getType(),