1
Fork 0

Make AllowRecording into a method of group.

This commit is contained in:
Juliusz Chroboczek 2020-09-13 13:55:22 +02:00
parent 03e57aac90
commit 7148ea1864
1 changed files with 4 additions and 0 deletions

View File

@ -75,6 +75,10 @@ func (g *group) Redirect() string {
return g.description.Redirect
}
func (g *group) AllowRecording() bool {
return g.description.AllowRecording
}
var groups struct {
mu sync.Mutex
groups map[string]*group