Fix logging overflow

Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
automated-signal 2022-01-24 16:20:01 -08:00 committed by GitHub
parent edee0dd8c1
commit c0a474abf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -715,11 +715,7 @@ export async function startApp(): Promise<void> {
}
// This one should always be last - it could restart the app
if (
window.isBeforeVersion(lastVersion, 'v1.15.0-beta.5') ||
(window.isAfterVersion(lastVersion, 'v5.24.0-alpha') &&
window.isBeforeVersion(lastVersion, 'v5.25.0'))
) {
if (window.isBeforeVersion(lastVersion, 'v5.30.0-alpha')) {
await deleteAllLogs();
window.restart();
return;