2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Revert "Move Blocked users to Privacy in Settings."

This reverts commit 1acfe441e1.
This commit is contained in:
John Preston
2022-12-29 14:44:27 +04:00
parent 5d5e4cbdff
commit eebe1f4c11
2 changed files with 21 additions and 34 deletions

View File

@@ -397,11 +397,7 @@ object_ptr<Ui::RpWidget> DetailsFiller::setupInfo() {
tr::lng_info_mobile_label(),
PhoneOrHiddenValue(user),
tr::lng_profile_copy_phone(tr::now)).text;
using namespace Ui;
const auto hook = [=](FlatLabel::ContextMenuRequest request) {
if (user->phone().isEmpty()) {
return;
}
const auto hook = [=](Ui::FlatLabel::ContextMenuRequest request) {
phoneLabel->fillContextMenu(request);
AddPhoneMenu(request.menu, user);
};