mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Possible fix for repeating changelogs
This commit is contained in:
@@ -175,7 +175,9 @@ std::unique_ptr<Changelogs> Changelogs::Create(
|
||||
const auto oldVersion = local.oldVersion();
|
||||
const auto oldKotatoVersion = Local::oldKotatoVersion();
|
||||
local.clearOldVersion();
|
||||
return (!cKotatoFirstRun() && oldKotatoVersion < AppKotatoVersion)
|
||||
return (!cKotatoFirstRun()
|
||||
&& oldVersion != 0
|
||||
&& oldKotatoVersion < AppKotatoVersion)
|
||||
? std::make_unique<Changelogs>(session, oldVersion, oldKotatoVersion)
|
||||
: nullptr;
|
||||
}
|
||||
|
Reference in New Issue
Block a user