mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Slightly improved check of today birthdays suggestion.
This commit is contained in:
@@ -218,9 +218,7 @@ rpl::producer<Ui::SlideWrap<Ui::RpWidget>*> TopBarSuggestionValue(
|
||||
|
||||
return;
|
||||
} else if (session->premiumCanBuy()
|
||||
&& config->suggestionCurrent(kSugBirthdayContacts.utf8())
|
||||
&& (!session->data().knownBirthdaysToday()
|
||||
|| !session->data().knownBirthdaysToday()->size())) {
|
||||
&& config->suggestionCurrent(kSugBirthdayContacts.utf8())) {
|
||||
session->data().contactBirthdays(
|
||||
) | rpl::start_with_next(crl::guard(content, [=] {
|
||||
const auto users = session->data()
|
||||
|
Reference in New Issue
Block a user