mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-23 12:56:09 +00:00
Update wecom.py
fix the bug that wecom couldnt send message when accept an image.
This commit is contained in:
@@ -130,7 +130,7 @@ class WecomEventConverter:
|
|||||||
)
|
)
|
||||||
elif event.type == "image":
|
elif event.type == "image":
|
||||||
friend = platform_entities.Friend(
|
friend = platform_entities.Friend(
|
||||||
id=event.user_id,
|
id=f"u{event.user_id}",
|
||||||
nickname=str(event.agent_id),
|
nickname=str(event.agent_id),
|
||||||
remark="",
|
remark="",
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user