2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 06:55:58 +00:00

Handle today-birthday click in profile.

This commit is contained in:
John Preston
2024-03-29 18:59:24 +04:00
parent 20123fca7f
commit d788f5afac
7 changed files with 150 additions and 14 deletions

View File

@@ -1346,6 +1346,12 @@ void SessionController::showGiftPremiumsBox(const QString &ref) {
_giftPremiumValidator.showChoosePeerBox(ref);
}
void SessionController::showGiftPremiumsBox(
not_null<UserData*> user,
const QString &ref) {
_giftPremiumValidator.showChosenPeerBox(user, ref);
}
void SessionController::init() {
if (session().supportMode()) {
session().supportHelper().registerWindow(this);