1 parent
39ab93ede7
commit
799099ff1c
1 file changed
+1
-1
+1
-1
@@ -39,7 +39,7 @@ def do_p2_im_message_receive_v1(data: P2ImMessageReceiveV1) -> None:
|
|||||||
content = json.loads(content)
|
content = json.loads(content)
|
||||||
if message_type == "post":
|
if message_type == "post":
|
||||||
content = content["content"]
|
content = content["content"]
|
||||||
for item in chain.from_iterable(data):
|
for item in chain.from_iterable(content):
|
||||||
if item.get("tag") == "text":
|
if item.get("tag") == "text":
|
||||||
message_content += item["text"]
|
message_content += item["text"]
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user