mirror of
https://github.com/mumble-voip/grumble.git
synced 2025-12-19 21:59:59 -08:00
grumble: port fix for pre-1.2.4 clients receiving Opus warnings unintentionally.
This commit is contained in:
parent
eb64671d5a
commit
51eee0abd0
1 changed files with 1 additions and 1 deletions
|
|
@ -735,7 +735,7 @@ func (server *Server) updateCodecVersions(connecting *Client) {
|
||||||
server.BetaCodec = winner
|
server.BetaCodec = winner
|
||||||
}
|
}
|
||||||
} else if server.Opus == enableOpus {
|
} else if server.Opus == enableOpus {
|
||||||
if connecting != nil && !connecting.opus {
|
if server.Opus && connecting != nil && !connecting.opus {
|
||||||
txtMsg.Session = []uint32{connecting.Session}
|
txtMsg.Session = []uint32{connecting.Session}
|
||||||
connecting.sendMessage(txtMsg)
|
connecting.sendMessage(txtMsg)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue