mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-06 11:52:58 +00:00
Added server sync of applied chat theme installation.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user