diff --git a/lemarche/conversations/utils.py b/lemarche/conversations/utils.py index 76c858532..23e338bde 100644 --- a/lemarche/conversations/utils.py +++ b/lemarche/conversations/utils.py @@ -18,6 +18,6 @@ def get_info_from_email_prefix(email_prefix: str) -> list: kind_sender = email_prefix_infos[1] else: # version 1 version = 1 - uuid = email_prefix[-1] + uuid = email_prefix_infos[-1] kind_sender = None # not useful return version, uuid, kind_sender