mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Slightly improved code style for long equality expressions.
This commit is contained in:
@@ -1991,8 +1991,8 @@ void Account::readStickerSets(
|
||||
if (datesCount != scnt) {
|
||||
return failed();
|
||||
}
|
||||
const auto fillDates =
|
||||
((set->id == Data::Stickers::CloudRecentSetId)
|
||||
const auto fillDates
|
||||
= ((set->id == Data::Stickers::CloudRecentSetId)
|
||||
|| (set->id == Data::Stickers::CloudRecentAttachedSetId))
|
||||
&& (set->stickers.size() == datesCount);
|
||||
if (fillDates) {
|
||||
|
Reference in New Issue
Block a user