mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 03:42:08 +08:00
refactor: debug info.
This commit is contained in:
parent
b186fe9927
commit
934214718f
@ -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 {
|
func (s *groupServer) webhookBeforeSetGroupInfo(ctx context.Context, before *config.BeforeConfig, req *group.SetGroupInfoReq) error {
|
||||||
|
if before.Enable {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
cbReq := &callbackstruct.CallbackBeforeSetGroupInfoReq{
|
cbReq := &callbackstruct.CallbackBeforeSetGroupInfoReq{
|
||||||
CallbackCommand: callbackstruct.CallbackBeforeSetGroupInfoCommand,
|
CallbackCommand: callbackstruct.CallbackBeforeSetGroupInfoCommand,
|
||||||
GroupID: req.GroupInfoForSet.GroupID,
|
GroupID: req.GroupInfoForSet.GroupID,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user