mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-25 10:01:00 +00:00
Removed interface for subscription links from mega groups.
This commit is contained in:
parent
838d5669ed
commit
0c3cabf4ac
@ -1577,7 +1577,9 @@ object_ptr<Ui::BoxContent> EditLinkBox(
|
||||
const auto isGroup = !peer->isBroadcast();
|
||||
const auto isPublic = peer->isChannel() && peer->asChannel()->isPublic();
|
||||
auto object = Box([=](not_null<Ui::GenericBox*> box) {
|
||||
const auto fill = [=] {
|
||||
const auto fill = isGroup
|
||||
? Fn<Ui::InviteLinkSubscriptionToggle()>(nullptr)
|
||||
: [=] {
|
||||
return Ui::FillCreateInviteLinkSubscriptionToggle(box, peer);
|
||||
};
|
||||
if (creating) {
|
||||
|
Loading…
Reference in New Issue
Block a user