From 03e57aac90b154ad6fc2cc2a6d3863670bc93db0 Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Sun, 13 Sep 2020 13:34:53 +0200 Subject: [PATCH] Make Redirect a method of group. --- group.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/group.go b/group.go index c741fae..6ed7d1f 100644 --- a/group.go +++ b/group.go @@ -71,6 +71,10 @@ func (g *group) AllowRecording() bool { return g.description.AllowRecording } +func (g *group) Redirect() string { + return g.description.Redirect +} + var groups struct { mu sync.Mutex groups map[string]*group