Minor improvements.
This commit is contained in:
parent
7b6ce8b822
commit
3817f2cb6b
@ -9,6 +9,7 @@
|
||||
#include "td/telegram/AccessRights.h"
|
||||
#include "td/telegram/AuthManager.h"
|
||||
#include "td/telegram/ChannelId.h"
|
||||
#include "td/telegram/ChannelType.h"
|
||||
#include "td/telegram/ContactsManager.h"
|
||||
#include "td/telegram/DialogManager.h"
|
||||
#include "td/telegram/Global.h"
|
||||
@ -36,6 +37,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <limits>
|
||||
#include <utility>
|
||||
|
||||
namespace td {
|
||||
|
||||
@ -1593,8 +1595,7 @@ void DialogParticipantManager::set_channel_participant_status(
|
||||
std::move(promise));
|
||||
});
|
||||
|
||||
td_->dialog_participant_manager_->get_channel_participant(channel_id, participant_dialog_id,
|
||||
std::move(on_result_promise));
|
||||
get_channel_participant(channel_id, participant_dialog_id, std::move(on_result_promise));
|
||||
}
|
||||
|
||||
void DialogParticipantManager::set_channel_participant_status_impl(ChannelId channel_id, DialogId participant_dialog_id,
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include "td/telegram/DialogInviteLink.h"
|
||||
#include "td/telegram/DialogParticipant.h"
|
||||
#include "td/telegram/td_api.h"
|
||||
#include "td/telegram/telegram_api.h"
|
||||
#include "td/telegram/UserId.h"
|
||||
|
||||
#include "td/actor/actor.h"
|
||||
|
Loading…
Reference in New Issue
Block a user