复制项目

This commit is contained in:
kim.dev.6789
2026-01-14 22:35:45 +08:00
parent 305d526110
commit b7f8db7d08
297 changed files with 81784 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
package chat
import (
"context"
"git.imall.cloud/openim/chat/pkg/protocol/chat"
)
func (o *chatSvr) SetAllowRegister(ctx context.Context, req *chat.SetAllowRegisterReq) (*chat.SetAllowRegisterResp, error) {
o.AllowRegister = req.AllowRegister
return &chat.SetAllowRegisterResp{}, nil
}
func (o *chatSvr) GetAllowRegister(ctx context.Context, req *chat.GetAllowRegisterReq) (*chat.GetAllowRegisterResp, error) {
return &chat.GetAllowRegisterResp{AllowRegister: o.AllowRegister}, nil
}