xx
This commit is contained in:
@@ -208,7 +208,7 @@ func (s *Server) GetVoiceConf(client *Client, message []byte) error {
|
|||||||
if err := json.Unmarshal(message, &msg); err != nil {
|
if err := json.Unmarshal(message, &msg); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if msg.Type != "SetVoiceConf" {
|
if msg.Type != "GetVoiceConf" {
|
||||||
return fmt.Errorf("unauthorized")
|
return fmt.Errorf("unauthorized")
|
||||||
}
|
}
|
||||||
fmt.Printf("客户端语音配置状态:%v\r\n", msg.MessageVoiceConf)
|
fmt.Printf("客户端语音配置状态:%v\r\n", msg.MessageVoiceConf)
|
||||||
|
|||||||
Reference in New Issue
Block a user