🐛 fix: 获取引用消息失败时没有将引用消息段加入消息链
This commit is contained in:
1 parent
b52a44a7dd
commit
0870b87c96
1 file changed
+3
-1
@@ -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