Update wecom.py

fix the bug that wecom couldnt send message when accept an image.
This commit is contained in:
WangCham
2025-02-12 22:04:16 +08:00
committed by GitHub
parent 2776a95a40
commit 04dd4fce68

View File

@@ -130,7 +130,7 @@ class WecomEventConverter:
)
elif event.type == "image":
friend = platform_entities.Friend(
id=event.user_id,
id=f"u{event.user_id}",
nickname=str(event.agent_id),
remark="",
)