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-10-02 15:18:12 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-10-02 15:18:12 +0300
commite5f6156b96004ca5aced270b8cbc67090863d118 (patch)
treef9999dc1b1370248a23b73604c155c3b7237f375 /lib/Model
parentc32b0c435de8c9cf9bf2d4ddf95c3f2ab3ea2dea (diff)
parentba260d16103fc143b94471bf9378e32cae5fcd29 (diff)
Merge branch 'master' of github.com:/nextcloud/mail into refactor/remove-unused-date-fields
Diffstat (limited to 'lib/Model')
-rw-r--r--lib/Model/IMAPMessage.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Model/IMAPMessage.php b/lib/Model/IMAPMessage.php
index 45aac1ffb..e4e323300 100644
--- a/lib/Model/IMAPMessage.php
+++ b/lib/Model/IMAPMessage.php
@@ -430,10 +430,8 @@ class IMAPMessage implements IMessage, JsonSerializable {
'to' => $this->getTo()->jsonSerialize(),
'cc' => $this->getCC()->jsonSerialize(),
'bcc' => $this->getBCC()->jsonSerialize(),
- 'fromEmail' => is_null($this->getFrom()->first()) ? null : $this->getFrom()->first()->getEmail(),
'subject' => $this->getSubject(),
'dateInt' => $this->getSentDate()->getTimestamp(),
- 'size' => Util::humanFileSize($this->getSize()),
'flags' => $this->getFlags(),
];
}