app add record
continuous-integration/drone/push Build is passing

This commit is contained in:
jianxin committed 2024-01-17 16:00:30 +08:00
1 parent d2a1206814
commit 39ab93ede7
1 file changed
+1
+1
View File
@@ -38,6 +38,7 @@ def do_p2_im_message_receive_v1(data: P2ImMessageReceiveV1) -> None:
content = data.event.message.content
content = json.loads(content)
if message_type == "post":
content = content["content"]
for item in chain.from_iterable(data):
if item.get("tag") == "text":
message_content += item["text"]