fix: when session_id including ":" (#4380)

This commit is contained in:
stevessr
2026-01-11 14:33:44 +08:00
committed by GitHub
parent c1102f2f5c
commit 6c2f738940
+1 -1
View File
@@ -23,7 +23,7 @@ class MessageSession:
@staticmethod
def from_str(session_str: str):
platform_id, message_type, session_id = session_str.split(":")
platform_id, message_type, session_id = session_str.split(":", 2)
return MessageSession(platform_id, MessageType(message_type), session_id)