🐛 fix: 获取引用消息失败时没有将引用消息段加入消息链

This commit is contained in:
Soulter
2025-03-13 20:59:52 +08:00
parent b52a44a7dd
commit 0870b87c96
@@ -273,7 +273,9 @@ class AiocqhttpAdapter(Platform):
abm.message.append(reply_seg)
except BaseException as e:
logger.error(f"获取消息失败: {e},此消息段将被忽略")
logger.error(f"获取引用消息失败: {e}")
a = ComponentTypes[t](**m["data"]) # noqa: F405
abm.message.append(a)
else:
a = ComponentTypes[t](**m["data"]) # noqa: F405
abm.message.append(a)