Update a couple permissions things, no longer allow anonymous users.

This commit is contained in:
Storm Dragon
2026-05-24 00:26:48 -04:00
parent 3e06de7501
commit 3df0c22948
6 changed files with 134 additions and 4 deletions
+4 -1
View File
@@ -196,6 +196,9 @@ func (client *Client) PushConn(g *hall.Hall, id string, up conn.Up, tracks []con
g.WallOps("Write to disk: " + err.Error())
return err
}
if down == nil {
return nil
}
client.down[up.Id()] = down
return nil
@@ -699,7 +702,7 @@ func newDiskConn(client *Client, up conn.Up, remoteTracks []conn.UpTrack) (*disk
}
if len(tracks) == 0 {
return nil, errors.New("no usable tracks found")
return nil, nil
}
down := &diskConn{