mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 14:40:55 +03:00
fixed syncFileList result when logged out
This commit is contained in:
@@ -129,7 +129,8 @@ export default class User {
|
|||||||
list = JSON.parse(textDecoder.decode(decrypted));
|
list = JSON.parse(textDecoder.decode(decrypted));
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (e.message === '401') {
|
if (e.message === '401') {
|
||||||
return this.logout();
|
this.logout();
|
||||||
|
return { incoming: true };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
changes = await this.storage.merge(list);
|
changes = await this.storage.merge(list);
|
||||||
|
|||||||
Reference in New Issue
Block a user