Skip to content

Commit

Permalink
UPDATE: msgid
Browse files Browse the repository at this point in the history
  • Loading branch information
xncbf committed Feb 4, 2022
1 parent b96b684 commit 41111b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rcs_pydantic/main.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import uuid
from typing import Optional, Union

from rcs_pydantic import enums
Expand Down Expand Up @@ -43,7 +44,7 @@ def __init__(

def make_common_info(self, message_info: scheme.MessageInfo) -> scheme.CommonInfo:
return scheme.CommonInfo(
msgId=message_info.replyId,
msgId=uuid.uuid4(),
userContact=message_info.userContact,
scheduleType=0,
msgServiceType=enums.MessageServiceTypeEnum.RCS,
Expand Down

0 comments on commit 41111b5

Please sign in to comment.