From fa7f7324e844b4ec5f038e9b5bc430570a9a2554 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 27 Jul 2023 11:46:25 +0200 Subject: [PATCH] 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. --- plugins/libcalendaring/libcalendaring.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/libcalendaring/libcalendaring.php b/plugins/libcalendaring/libcalendaring.php index 90bb54cf..9b6b3fcc 100644 --- a/plugins/libcalendaring/libcalendaring.php +++ b/plugins/libcalendaring/libcalendaring.php @@ -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;