From 04dd4fce68e28d81af242de088f4c0a819d5179b Mon Sep 17 00:00:00 2001 From: WangCham Date: Wed, 12 Feb 2025 22:04:16 +0800 Subject: [PATCH] Update wecom.py fix the bug that wecom couldnt send message when accept an image. --- pkg/platform/sources/wecom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/platform/sources/wecom.py b/pkg/platform/sources/wecom.py index 5d127958..24f22bd4 100644 --- a/pkg/platform/sources/wecom.py +++ b/pkg/platform/sources/wecom.py @@ -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="", )