From b9081c26ba38937d2f21d359118e6f938b725202 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 5 Jan 2023 09:55:38 +0400 Subject: [PATCH] Use tg://settings/edit_profile instead /information. --- Telegram/SourceFiles/core/local_url_handlers.cpp | 2 +- .../history/view/media/history_view_userpic_suggestion.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/core/local_url_handlers.cpp b/Telegram/SourceFiles/core/local_url_handlers.cpp index f3f9782b3..318c0fea8 100644 --- a/Telegram/SourceFiles/core/local_url_handlers.cpp +++ b/Telegram/SourceFiles/core/local_url_handlers.cpp @@ -869,7 +869,7 @@ const std::vector &LocalUrlHandlers() { ResolvePrivatePost }, { - u"^settings(/language|/devices|/folders|/privacy|/themes|/change_number|/auto_delete|/information)?$"_q, + u"^settings(/language|/devices|/folders|/privacy|/themes|/change_number|/auto_delete|/information|/edit_profile)?$"_q, ResolveSettings }, { diff --git a/Telegram/SourceFiles/history/view/media/history_view_userpic_suggestion.cpp b/Telegram/SourceFiles/history/view/media/history_view_userpic_suggestion.cpp index ca3fca736..c20bf270c 100644 --- a/Telegram/SourceFiles/history/view/media/history_view_userpic_suggestion.cpp +++ b/Telegram/SourceFiles/history/view/media/history_view_userpic_suggestion.cpp @@ -128,7 +128,7 @@ void ShowSetToast( lt_link, Ui::Text::Link( tr::lng_profile_changed_photo_link(tr::now), - u"tg://settings/information"_q), + u"tg://settings/edit_profile"_q), Ui::Text::WithEntities) ); auto st = std::make_shared(st::historyPremiumToast);