diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-10-31 10:44:24 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-10-31 10:44:24 +0300 |
commit | 470f77170eb603838c07815ebccb28545d02a2ac (patch) | |
tree | 0578454581719103de36b4503b54ab6384ed6aa5 /lib | |
parent | 5cc416f1d47848b1ca1150a46513427110a8289e (diff) |
Upload local attachments and add them to the attachment list
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Service/MailTransmission.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/MailTransmission.php b/lib/Service/MailTransmission.php index 4737e1e27..064cf6d63 100644 --- a/lib/Service/MailTransmission.php +++ b/lib/Service/MailTransmission.php @@ -211,7 +211,7 @@ class MailTransmission implements IMailTransmission { */ private function handleAttachments(string $userId, NewMessageData $messageData, IMessage $message) { foreach ($messageData->getAttachments() as $attachment) { - if (isset($attachment['isLocal']) && $attachment['isLocal'] === 'true') { + if (isset($attachment['isLocal']) && $attachment['isLocal']) { $this->handleLocalAttachment($userId, $attachment, $message); } else { $this->handleCloudAttachment($attachment, $message); |