Leave the channel when a shared folder is removed from a drive

This commit is contained in:
yflory
2019-10-28 18:41:00 +01:00
parent 176e667128
commit b6d44b2a1a
3 changed files with 8 additions and 3 deletions

View File

@@ -168,6 +168,7 @@ define([
if (channelId) { toClean.push(channelId); }
if (exp.isSharedFolder(id)) {
delete files[SHARED_FOLDERS][id];
if (config.removeProxy) { config.removeProxy(id); }
} else {
spliceFileData(id);
}