mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-03 16:15:13 +00:00
Fix build in Xcode / GCC.
This commit is contained in:
@@ -563,7 +563,7 @@ void AddParticipantsBoxController::Start(
|
|||||||
bool justCreated) {
|
bool justCreated) {
|
||||||
auto initBox = [channel, justCreated](not_null<PeerListBox*> box) {
|
auto initBox = [channel, justCreated](not_null<PeerListBox*> box) {
|
||||||
auto subscription = std::make_shared<rpl::lifetime>();
|
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 (InviteSelectedUsers(box, channel)) {
|
||||||
if (channel->isMegagroup()) {
|
if (channel->isMegagroup()) {
|
||||||
Ui::showPeerHistory(channel, ShowAtTheEndMsgId);
|
Ui::showPeerHistory(channel, ShowAtTheEndMsgId);
|
||||||
|
Reference in New Issue
Block a user