mirror of
https://github.com/jech/galene.git
synced 2024-11-23 00:55:58 +01:00
Make Redirect a method of group.
This commit is contained in:
parent
f2fcc09e61
commit
03e57aac90
1 changed files with 4 additions and 0 deletions
4
group.go
4
group.go
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue