diff --git a/model/torrent.go b/model/torrent.go index cf254ba1..8da04c24 100644 --- a/model/torrent.go +++ b/model/torrent.go @@ -75,7 +75,7 @@ type TorrentsJson struct { func (t *Torrents) ToJson() TorrentsJson { magnet := "magnet:?xt=urn:btih:" + strings.TrimSpace(t.Hash) + "&dn=" + t.Name + config.Trackers b := []CommentsJson{} - _ = json.Unmarshal([]byte(util.UnZlib(t.Comments)), &b) + _ = json.Unmarshal([]byte(t.Comments), &b) res := TorrentsJson{ Id: strconv.Itoa(t.Id), Name: html.UnescapeString(t.Name),