Allow proxyURL to contain a path.

We now support or reasonable values for proxyURL, such as "http:"
or "/galene".
This commit is contained in:
Juliusz Chroboczek
2024-02-24 12:09:10 +01:00
parent 6756e7f7cc
commit 29e006037c
6 changed files with 66 additions and 47 deletions
+2 -2
View File
@@ -1161,7 +1161,7 @@ func handleAction(c *webClient, a any) error {
if a.group != "" {
g = group.Get(a.group)
if g != nil {
s := g.Status(true, "")
s := g.Status(true, nil)
status = &s
data = g.Data()
}
@@ -1208,7 +1208,7 @@ func handleAction(c *webClient, a any) error {
return errors.New("Permissions changed in no group")
}
perms := append([]string(nil), c.permissions...)
status := g.Status(true, "")
status := g.Status(true, nil)
username := c.username
c.write(clientMessage{
Type: "joined",