mirror of
https://github.com/vale981/tdesktop
synced 2025-03-05 09:41:41 -05:00
Fix build in Xcode / GCC.
This commit is contained in:
parent
4002739682
commit
8306e58b75
1 changed files with 1 additions and 1 deletions
|
@ -563,7 +563,7 @@ void AddParticipantsBoxController::Start(
|
|||
bool justCreated) {
|
||||
auto initBox = [channel, justCreated](not_null<PeerListBox*> box) {
|
||||
auto subscription = std::make_shared<rpl::lifetime>();
|
||||
box->addButton(langFactory(lng_participant_invite), [=, subscription] {
|
||||
box->addButton(langFactory(lng_participant_invite), [=, copy = subscription] {
|
||||
if (InviteSelectedUsers(box, channel)) {
|
||||
if (channel->isMegagroup()) {
|
||||
Ui::showPeerHistory(channel, ShowAtTheEndMsgId);
|
||||
|
|
Loading…
Add table
Reference in a new issue