修复转发的小问题,更新版本号

pull/61/head 0.5.4
UnCLAS-Prommer 2025-09-14 00:04:13 +08:00
parent b4600793b9
commit ca27153fe6
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[project]
name = "MaiBotNapcatAdapter"
version = "0.5.0"
version = "0.5.4"
description = "A MaiBot adapter for Napcat"
[tool.ruff]

View File

@ -83,7 +83,7 @@ class SendMessageHandleClass:
return {"type": "node", "data": {"id": message_segment.data}}
else:
user_info = item.message_info.user_info
content = cls.process_seg_recursive(message_segment.data, True)
content = cls.process_seg_recursive(message_segment, True)
return {
"type": "node",
"data": {"name": user_info.user_nickname or "QQ用户", "uin": user_info.user_id, "content": content},