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

@@ -98,7 +98,7 @@ define([
var parsed = Hash.parsePadUrl(href);
var secret = Hash.getSecrets('drive', parsed.hash, data.password);
// If we don' have valid keys, abort and remove the proxy to make sure
// If we don't have valid keys, abort and remove the proxy to make sure
// we don't block the drive permanently
if (!secret.keys) {
store.manager.deprecateProxy(id);