Fix editChatInviteLink.

This commit is contained in:
levlam 2021-11-07 04:18:41 +03:00
parent 8c3d9a7710
commit 1bd9e0f622

View File

@ -7484,7 +7484,7 @@ void ContactsManager::edit_dialog_invite_link(DialogId dialog_id, const string &
auto new_title = clean_name(std::move(title), MAX_INVITE_LINK_TITLE_LENGTH);
td_->create_handler<EditChatInviteLinkQuery>(std::move(promise))
->send(dialog_id, invite_link, new_title, expire_date, creates_join_request, usage_limit);
->send(dialog_id, invite_link, new_title, expire_date, usage_limit, creates_join_request);
}
void ContactsManager::get_dialog_invite_link(DialogId dialog_id, const string &invite_link,