Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Decrabbityyy committed Aug 9, 2024
1 parent 02503fe commit 6d3ba11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nonebot_plugin_alconna/uniseg/adapters/qq/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,8 @@ async def recall(self, mid: Any, bot: Bot, context: Union[Target, Event]):
elif isinstance(mid, PostC2CMessagesReturn):
if isinstance(context, Target):
if context.private:
await bot.delete_group_message(
group_openid=context.id,
await bot.delete_c2c_message(
openid=context.id,
message_id=mid.id, # type: ignore
)
else:
Expand Down

0 comments on commit 6d3ba11

Please sign in to comment.