Skip to content

Commit

Permalink
f build and update tdlib
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Sep 25, 2024
1 parent fc8b404 commit fa778d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Telegram/SourceFiles/window/window_session_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1606,7 +1606,7 @@ SessionController::SessionController(
}));
}, _lifetime);

#if 0 // todo
#if 0 // mtp
session->downloader().nonPremiumDelays(
) | rpl::start_with_next([=](DocumentId id) {
checkNonPremiumLimitToastDownload(id);
Expand All @@ -1626,6 +1626,7 @@ SessionController::SessionController(
});
}

#if 0 // mtp
bool SessionController::skipNonPremiumLimitToast(bool download) const {
if (session().premium()) {
return true;
Expand Down Expand Up @@ -1669,6 +1670,7 @@ void SessionController::checkNonPremiumLimitToastUpload(FullMsgId id) {
session().saveSettingsDelayed();
}
}
#endif

void SessionController::suggestArchiveAndMute() {
const auto weak = base::make_weak(this);
Expand Down

0 comments on commit fa778d1

Please sign in to comment.