mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Handle today-birthday click in profile.
This commit is contained in:
@@ -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);
|
||||
|
@@ -395,6 +395,9 @@ public:
|
||||
void showGiftPremiumBox(UserData *user);
|
||||
void showGiftPremiumsBox(const QString &ref);
|
||||
|
||||
// Single user gift as if was selected in multiple recipients chooser.
|
||||
void showGiftPremiumsBox(not_null<UserData*> user, const QString &ref);
|
||||
|
||||
void enableGifPauseReason(GifPauseReason reason);
|
||||
void disableGifPauseReason(GifPauseReason reason);
|
||||
rpl::producer<> gifPauseLevelChanged() const {
|
||||
|
Reference in New Issue
Block a user