1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-22 08:35:57 +01:00

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

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