diff --git a/Telegram/SourceFiles/boxes/language_box.cpp b/Telegram/SourceFiles/boxes/language_box.cpp index cd720952e..4dd311bbc 100644 --- a/Telegram/SourceFiles/boxes/language_box.cpp +++ b/Telegram/SourceFiles/boxes/language_box.cpp @@ -392,7 +392,8 @@ void Rows::mouseReleaseEvent(QMouseEvent *e) { } bool Rows::canShare(not_null row) const { - return !_areOfficial && !row->data.id.startsWith('#'); + // #TODO langs + return false && !_areOfficial && !row->data.id.startsWith('#'); } bool Rows::canRemove(not_null row) const { diff --git a/Telegram/SourceFiles/core/local_url_handlers.cpp b/Telegram/SourceFiles/core/local_url_handlers.cpp index b4bfe00a4..5a67e1f99 100644 --- a/Telegram/SourceFiles/core/local_url_handlers.cpp +++ b/Telegram/SourceFiles/core/local_url_handlers.cpp @@ -69,8 +69,9 @@ bool ShowStickerSet(const Match &match, const QVariant &context) { } bool SetLanguage(const Match &match, const QVariant &context) { - const auto languageId = match->captured(1); - Lang::CurrentCloudManager().switchWithWarning(languageId); + // #TODO langs + //const auto languageId = match->captured(1); + //Lang::CurrentCloudManager().switchWithWarning(languageId); return true; }