Skip to content

Commit bc9299e

Browse files
committed
Remove duplicate edit profile links.
1 parent 7cfcd1f commit bc9299e

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

td/generate/scheme/td_api.tl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8330,8 +8330,8 @@ settingsSectionDevices subsection:string = SettingsSection;
83308330

83318331
//@description The profile edit section @subsection Subsection of the section if any; may be one of "set-photo", "first-name", "last-name",
83328332
//-"emoji-status", "bio", "birthday", "change-number", "username", "your-color", "channel", "add-account", "log-out",
8333-
//-"profile-color", "profile-color/profile", "profile-color/profile/add-icons", "profile-color/profile/use-gift", "profile-color/name",
8334-
//-"profile-color/name/add-icons", "profile-color/name/use-gift", "profile-photo", "profile-photo/use-emoji"
8333+
//-"profile-color/profile", "profile-color/profile/add-icons", "profile-color/profile/use-gift", "profile-color/name",
8334+
//-"profile-color/name/add-icons", "profile-color/name/use-gift", "profile-photo/use-emoji"
83358335
settingsSectionEditProfile subsection:string = SettingsSection;
83368336

83378337
//@description The FAQ section

td/telegram/LinkManager.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,9 @@ static const vector<string> &get_edit_profile_settings_subsections() {
234234
}
235235

236236
static const vector<string> &get_edit_profile_other_settings_subsections() {
237-
static const vector<string> subsections{"emoji-status", "profile-color", "profile-color/profile",
238-
"profile-color/profile/add-icons", "profile-color/profile/use-gift",
239-
"profile-color/name", "profile-color/name/add-icons",
240-
"profile-color/name/use-gift", "profile-photo",
237+
static const vector<string> subsections{"emoji-status", "profile-color/profile", "profile-color/profile/add-icons",
238+
"profile-color/profile/use-gift", "profile-color/name",
239+
"profile-color/name/add-icons", "profile-color/name/use-gift",
241240
// no formatting
242241
"profile-photo/use-emoji"};
243242
return subsections;

0 commit comments

Comments
 (0)