Remove autostore modal when the pad has been deleted by another user

This commit is contained in:
yflory 2021-03-22 18:29:57 +01:00
parent ba4bef2beb
commit fdfd7db362
1 changed files with 4 additions and 0 deletions

View File

@ -2551,6 +2551,10 @@ define([
} else if (err.type === 'EDELETED') {
if (priv.burnAfterReading) { return void cb(); }
if (autoStoreModal[priv.channel]) {
autoStoreModal[priv.channel].delete();
delete autoStoreModal[priv.channel];
}
// View users have the wrong seed, thay can't retireve access directly
// Version 1 hashes don't support passwords
if (!priv.readOnly && !priv.oldVersionHash) {