diff options
author | Christian Mollekopf <cmollekopf@gmail.com> | 2022-08-01 12:51:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-01 12:51:32 +0300 |
commit | e495fc73b513cae26205f0dc931abbb98f35b718 (patch) | |
tree | cba015b0c14d93371bb77abb0a87c30fe10de67a /program | |
parent | 47a2e2c536049fc242da483c2982bb9e875feb1e (diff) |
Enigma: WOAT Support (#8626)
* Enigma: WOAT Support
* Fixed public key extraction from dns record
Co-authored-by: Aleksander Machniak <alec@alec.pl>
Co-authored-by: Christian Mollekopf <mollekopf@apheleia-it.ch>
Diffstat (limited to 'program')
-rw-r--r-- | program/lib/Roundcube/rcube_message.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/program/lib/Roundcube/rcube_message.php b/program/lib/Roundcube/rcube_message.php index 6fd0d6f24..d95fc6c16 100644 --- a/program/lib/Roundcube/rcube_message.php +++ b/program/lib/Roundcube/rcube_message.php @@ -124,6 +124,11 @@ class rcube_message ) ]; + $this->mime = new rcube_mime($this->headers->charset); + $this->subject = str_replace("\n", '', $this->headers->get('subject')); + $from = $this->mime->decode_address_list($this->headers->from, 1); + $this->sender = current($from); + if (!empty($this->headers->structure)) { $this->get_mime_numbers($this->headers->structure); $this->parse_structure($this->headers->structure); @@ -132,11 +137,6 @@ class rcube_message $this->body = $this->storage->get_body($uid); } - $this->mime = new rcube_mime($this->headers->charset); - $this->subject = str_replace("\n", '', $this->headers->get('subject')); - $from = $this->mime->decode_address_list($this->headers->from, 1); - $this->sender = current($from); - // notify plugins and let them analyze this structured message object $this->app->plugins->exec_hook('message_load', ['object' => $this]); } |