mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Moved bunch of arguments for creation of invite links to structure.
This commit is contained in:
@@ -517,10 +517,13 @@ void InviteForbiddenController::send(
|
||||
};
|
||||
const auto sendForFull = [=] {
|
||||
if (!sendLink()) {
|
||||
_peer->session().api().inviteLinks().create(_peer, [=](auto) {
|
||||
if (!sendLink()) {
|
||||
close();
|
||||
}
|
||||
_peer->session().api().inviteLinks().create({
|
||||
_peer,
|
||||
[=](auto) {
|
||||
if (!sendLink()) {
|
||||
close();
|
||||
}
|
||||
},
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user