diff --git a/server/RdtClient.Service/Services/Torrents.cs b/server/RdtClient.Service/Services/Torrents.cs index 976aa72..d044885 100644 --- a/server/RdtClient.Service/Services/Torrents.cs +++ b/server/RdtClient.Service/Services/Torrents.cs @@ -142,6 +142,12 @@ namespace RdtClient.Service.Services var newTorrent = await _torrentData.Add(rdTorrent.Id, rdTorrent.Hash, false, false); await GetById(newTorrent.TorrentId); } + + if (rdTorrent.Files == null) + { + var rdTorrent2 = await _rdtClient.GetTorrentInfoAsync(rdTorrent.Id); + await Update(torrent, rdTorrent2); + } else { await Update(torrent, rdTorrent);