From 7148ea18641e81501d83ae8224b3d207498d2743 Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Sun, 13 Sep 2020 13:55:22 +0200 Subject: [PATCH] Make AllowRecording into a method of group. --- group.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/group.go b/group.go index 6ed7d1f..75502c4 100644 --- a/group.go +++ b/group.go @@ -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