🐛 fix: 获取引用消息失败时没有将引用消息段加入消息链
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user