get rid of UI-side watching of directories on AllFilesLoadedEvent

This commit is contained in:
Zlatin Balevsky
2020-03-26 05:31:05 +00:00
parent 11e320ef53
commit f0c8c11094
3 changed files with 0 additions and 18 deletions

View File

@ -193,12 +193,6 @@ public class MuWireClient {
}
public void onAllFilesLoadedEvent(AllFilesLoadedEvent e) {
core.getMuOptions().getWatchedDirectories().stream().map(File::new).
forEach(f -> {
FileSharedEvent event = new FileSharedEvent();
event.setFile(f);
core.getEventBus().publish(event);
});
core.getMuOptions().getTrustSubscriptions().forEach( p -> {
TrustSubscriptionEvent event = new TrustSubscriptionEvent();