Reset the status on mail_message_load so we can process multiple

messages

Otherwise we just keep returning the data from the first parse in
get_mail_ical_objects.
This commit is contained in:
Christian Mollekopf 2023-07-27 11:46:25 +02:00
parent 5a8b8c5e74
commit fa7f7324e8

View file

@ -1139,6 +1139,8 @@ class libcalendaring extends rcube_plugin
*/
public function mail_message_load($p)
{
$this->ical_parts = [];
$this->mail_ical_parser = null;
$this->ical_message = $p['object'];
$itip_part = null;