- Plugin API: added 'message_compose_body' hook (#1486285)
| | |
| | | CHANGELOG RoundCube Webmail |
| | | =========================== |
| | | |
| | | - Plugin API: added 'message_compose_body' hook (#1486285) |
| | | - Fix counters of all folders are checked in 'getunread' action with check_all_folders disabled (#1486128) |
| | | - Fix displaying alternative parts in messages of type message/rfc822 (#1486246) |
| | | - Fix possible messages exposure when using Roundcube behind a proxy (#1486281) |
| | |
| | | // load draft message body |
| | | else if ($compose_mode == RCUBE_COMPOSE_DRAFT || $compose_mode == RCUBE_COMPOSE_EDIT) |
| | | $body = rcmail_create_draft_body($body, $isHtml); |
| | | } |
| | | else if (!empty($_SESSION['compose']['param']['body'])) |
| | | { |
| | | $body = $_SESSION['compose']['param']['body']; |
| | | |
| | | $plugin = $RCMAIL->plugins->exec_hook('message_compose_body', |
| | | array('body' => $body, 'html' => $isHtml, 'mode' => $compose_mode)); |
| | | |
| | | $body = $plugin['body']; |
| | | } |
| | | |
| | | $out = $form_start ? "$form_start\n" : ''; |