refactor: debug info.

This commit is contained in:
Gordon 2024-04-19 10:37:16 +08:00
parent 3c280d49b3
commit e618a8f282

View File

@ -254,7 +254,7 @@ 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 {
if !before.Enable {
return nil
}
cbReq := &callbackstruct.CallbackBeforeSetGroupInfoReq{