HimbeerserverDE 1 year ago
parent
commit
72b4ee94c8
No known key found for this signature in database
GPG Key ID: 1A651504791E6A8B
  1. 3
      media.go

3
media.go

@ -255,8 +255,7 @@ func (c *Conn) sendMedia(r *bytes.Reader) {
rq = append(rq, name)
}
var bunches []map[string]*mediaFile
bunches[0] = make(map[string]*mediaFile)
bunches := []map[string]*mediaFile{make(map[string]*mediaFile)}
var bunchlen int
for _, f := range rq {
bunches[len(bunches)-1][f] = media[f]

Loading…
Cancel
Save