diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-10-02 15:18:12 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-10-02 15:18:12 +0300 |
commit | e5f6156b96004ca5aced270b8cbc67090863d118 (patch) | |
tree | f9999dc1b1370248a23b73604c155c3b7237f375 /lib/Model | |
parent | c32b0c435de8c9cf9bf2d4ddf95c3f2ab3ea2dea (diff) | |
parent | ba260d16103fc143b94471bf9378e32cae5fcd29 (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.php | 2 |
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(), ]; } |