sone.setLatestEdition(Numbers.safeParseLong(ownIdentity.getProperty("Sone.LatestEdition"), (long) 0));
sone.setClient(new Client("Sone", SonePlugin.VERSION.toString()));
sone.setKnown(true);
- database.saveSone(sone);
/* TODO - load posts ’n stuff */
final SoneInserter soneInserter = new SoneInserter(this, freenetInterface, sone);
soneInserter.addSoneInsertListener(this);
sone.setStatus(SoneStatus.idle);
loadSone(sone);
soneInserter.start();
+ database.saveSone(sone);
return sone;
}
}
}
}
- database.saveSone(sone);
soneDownloader.addSone(sone);
soneDownloaders.execute(new Runnable() {
}
});
+ database.saveSone(sone);
return sone;
}