show Torrents tunnels on I2P tunnels page

This commit is contained in:
orignal
2026-08-05 17:19:49 -04:00
parent 50b4c3d8f1
commit 5535a17330
5 changed files with 21 additions and 6 deletions
+1 -1
View File
@@ -989,7 +989,7 @@ namespace client
else
localDestination->SetPublic (true);
}
auto torrentsTunnel = std::make_shared<i2p::torrents::TorrentsTunnel> (localDestination, torrentsDir, trackers);
auto torrentsTunnel = std::make_shared<i2p::torrents::TorrentsTunnel> (name, localDestination, torrentsDir, trackers);
auto [iit, inserted] = m_TorrentsTunnels.emplace (localDestination->GetIdentHash (), torrentsTunnel);
if (inserted)
torrentsTunnel->Start ();