mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
Remove deleted pad from cache
This commit is contained in:
parent
453b207bcc
commit
dfc2d6ce0d
@ -331,6 +331,7 @@ define([
|
||||
if (!s.rpc) { return void cb({error: 'RPC_NOT_READY'}); }
|
||||
|
||||
s.rpc.removeOwnedChannel(channel, function (err) {
|
||||
if (!err) { Cache.clearChannel(channel); }
|
||||
cb({error:err});
|
||||
});
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user