Free stroage if it is exceeding disk quota (#7061)
This commit is contained in:
parent
b83ce18b30
commit
1ed1014546
6 changed files with 89 additions and 36 deletions
|
@ -1,3 +1,4 @@
|
|||
import { autoPlayGif } from '../../initial_state';
|
||||
import { putAccounts, putStatuses } from '../../storage/modifier';
|
||||
import { normalizeAccount, normalizeStatus } from './normalizer';
|
||||
|
||||
|
@ -44,7 +45,7 @@ export function importFetchedAccounts(accounts) {
|
|||
}
|
||||
|
||||
accounts.forEach(processAccount);
|
||||
putAccounts(normalAccounts);
|
||||
putAccounts(normalAccounts, !autoPlayGif);
|
||||
|
||||
return importAccounts(normalAccounts);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue