Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudw233 committed Feb 4, 2025
1 parent d8188f4 commit 5458522
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bots/aiocqhttp/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,8 @@ async def msgchain2nodelist(
if all(
(
isinstance(element, PlainElement),
msg_chain_list.index(element)==len(msg_chain_list)-1
or len(msg_chain_list)==0,
message.as_sendable().index(element)==len(message.as_sendable())-1
or len(message.as_sendable())==0,
)
):
content += element.text
Expand Down

0 comments on commit 5458522

Please sign in to comment.