Make AllowRecording into a method of group.
This commit is contained in:
@@ -75,6 +75,10 @@ func (g *group) Redirect() string {
|
|||||||
return g.description.Redirect
|
return g.description.Redirect
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (g *group) AllowRecording() bool {
|
||||||
|
return g.description.AllowRecording
|
||||||
|
}
|
||||||
|
|
||||||
var groups struct {
|
var groups struct {
|
||||||
mu sync.Mutex
|
mu sync.Mutex
|
||||||
groups map[string]*group
|
groups map[string]*group
|
||||||
|
|||||||
Reference in New Issue
Block a user