diff --git a/email_handler.py b/email_handler.py index 593e3df1..58516629 100644 --- a/email_handler.py +++ b/email_handler.py @@ -842,7 +842,7 @@ def replace_sl_message_id_by_original_message_id(msg): # Replace SL Message-ID by original one in In-Reply-To header if msg[headers.IN_REPLY_TO]: matching: MessageIDMatching = MessageIDMatching.get_by( - sl_message_id=msg[headers.IN_REPLY_TO] + sl_message_id=str(msg[headers.IN_REPLY_TO]) ) if matching: LOG.d(