mirror of
https://github.com/simple-login/app.git
synced 2025-02-25 00:03:03 +08:00
fix case where msg[headers.IN_REPLY_TO] can be non str
This commit is contained in:
parent
827b90432c
commit
0e24513bcf
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue