mirror of
https://github.com/mumble-voip/grumble.git
synced 2025-12-20 14:20:00 -08:00
Remove temporary channels when the last client leaves.
This commit is contained in:
parent
f5008c12e5
commit
83fe0c737e
4 changed files with 31 additions and 12 deletions
|
|
@ -547,7 +547,7 @@ func (client *Client) sendChannelTree(channel *Channel) {
|
|||
}
|
||||
}
|
||||
|
||||
if channel.Temporary {
|
||||
if channel.IsTemporary() {
|
||||
chanstate.Temporary = proto.Bool(true)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue