This commit is contained in:
1 parent
6c78e5b578
commit
1d88101ff5
1 file changed
+1
-1
+1
-1
@@ -42,7 +42,7 @@ def do_p2_im_message_receive_v1(data: P2ImMessageReceiveV1) -> None:
|
|||||||
|
|
||||||
for item in chain.from_iterable(content):
|
for item in chain.from_iterable(content):
|
||||||
if item.get("tag") == "text":
|
if item.get("tag") == "text":
|
||||||
content = message_content += item["text"]
|
message_content += item["text"]
|
||||||
break
|
break
|
||||||
elif item.get("tag") == "img":
|
elif item.get("tag") == "img":
|
||||||
images.append(item["image_key"])
|
images.append(item["image_key"])
|
||||||
|
|||||||
Reference in new issue
Block a user