refactor: debug info.

This commit is contained in:
Gordon 2024-04-19 10:14:58 +08:00
parent b186fe9927
commit 934214718f

View File

@ -254,7 +254,9 @@ func (s *groupServer) webhookAfterJoinGroup(ctx context.Context, after *config.A
}
func (s *groupServer) webhookBeforeSetGroupInfo(ctx context.Context, before *config.BeforeConfig, req *group.SetGroupInfoReq) error {
if before.Enable {
return nil
}
cbReq := &callbackstruct.CallbackBeforeSetGroupInfoReq{
CallbackCommand: callbackstruct.CallbackBeforeSetGroupInfoCommand,
GroupID: req.GroupInfoForSet.GroupID,