Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions astrbot/core/platform/sources/lark/lark_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,10 @@ async def _convert_to_lark(message: MessageChain, lark_client: lark.Client) -> l

image_key = response.data.image_key
logger.debug(image_key)
ret.append(_stage)
if _stage:
ret.append(_stage.copy())
_stage.clear()
ret.append([{"tag": "img", "image_key": image_key}])
_stage.clear()
elif isinstance(comp, File):
# 文件将通过 _send_file_message 方法单独发送,这里跳过
logger.debug("[Lark] 检测到文件组件,将单独发送")
Expand Down
Loading