TOTorrent torrent = dm.getTorrent();
if (torrent != null && !TorrentUtils.isReallyPrivate(torrent)) {
try {
// make a copy of the torrent
Map torrent_map = torrent.serialiseToMap();
TOTorrent torrent_to_send = TOTorrentFactory.deserialiseFromMap( torrent_map );
Map vuze_map = (Map)torrent_map.get( "vuze" );
// remove any non-standard stuff (e.g. resume data)
torrent_to_send.removeAdditionalProperties();
torrent_map = torrent_to_send.serialiseToMap();