Publish websocket endpoint in group status.
This commit is contained in:
@@ -1148,7 +1148,7 @@ func handleAction(c *webClient, a interface{}) error {
|
||||
if a.group != "" {
|
||||
g := group.Get(a.group)
|
||||
if g != nil {
|
||||
s := g.Status(true)
|
||||
s := g.Status(true, "")
|
||||
status = &s
|
||||
data = g.Data()
|
||||
}
|
||||
@@ -1170,7 +1170,7 @@ func handleAction(c *webClient, a interface{}) error {
|
||||
return errors.New("Permissions changed in no group")
|
||||
}
|
||||
perms := append([]string(nil), c.permissions...)
|
||||
status := g.Status(true)
|
||||
status := g.Status(true, "")
|
||||
c.write(clientMessage{
|
||||
Type: "joined",
|
||||
Kind: "change",
|
||||
|
||||
Reference in New Issue
Block a user