Added server sync of applied chat theme installation.

This commit is contained in:
23rd
2026-07-03 21:06:29 +03:00
committed by John Preston
parent 996fc9231c
commit 2d8fa7def0
@@ -267,7 +267,9 @@ void CloudThemes::install() {
auto &themeId = IsNightMode()
? _installedNightThemeId
: _installedDayThemeId;
const auto cloudId = fields.documentId ? fields.id : uint64(0);
const auto cloudId = (fields.documentId || !fields.emoticon.isEmpty())
? fields.id
: uint64(0);
if (themeId == cloudId) {
return;
}