This commit is contained in:
2025-01-08 16:28:34 +08:00
parent 6df2990e9e
commit 4e49712e5d

View File

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