Commit 03e57aac authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Make Redirect a method of group.

parent f2fcc09e
...@@ -71,6 +71,10 @@ func (g *group) AllowRecording() bool { ...@@ -71,6 +71,10 @@ func (g *group) AllowRecording() bool {
return g.description.AllowRecording return g.description.AllowRecording
} }
func (g *group) Redirect() string {
return g.description.Redirect
}
var groups struct { var groups struct {
mu sync.Mutex mu sync.Mutex
groups map[string]*group groups map[string]*group
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment