We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c7c223 commit 545f6fdCopy full SHA for 545f6fd
zhenxun/builtin_plugins/platform/qq/group_handle/data_source.py
@@ -49,9 +49,8 @@ async def __handle_add_group(
49
group: GroupConsole
50
"""
51
if group:
52
- await GroupConsole.filter(
53
- group_id=group_id, channel_id__isnull=True
54
- ).update(group_flag=1)
+ group.group_flag = 1
+ await group.save(update_fields=["group_flag"])
55
else:
56
block_plugin = ""
57
if plugin_list := await PluginInfo.filter(default_status=False).all():
0 commit comments