master
HimbeerserverDE 2021-04-18 15:32:30 +02:00
parent ed031e39b1
commit 72b4ee94c8
No known key found for this signature in database
GPG Key ID: 1A651504791E6A8B
1 changed files with 1 additions and 2 deletions

View File

@ -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]