Fix td_api::joinChat.
GitOrigin-RevId: b03a7302e1c9639a37e44e43967dfe4331c8e439
This commit is contained in:
parent
da8d4ceab1
commit
8df8273c87
@ -5602,9 +5602,9 @@ void Td::on_request(uint64 id, td_api::setChatClientData &request) {
|
||||
}
|
||||
|
||||
void Td::on_request(uint64 id, const td_api::joinChat &request) {
|
||||
CHECK_IS_USER();
|
||||
CREATE_OK_REQUEST_PROMISE();
|
||||
messages_manager_->set_dialog_participant_status(DialogId(request.chat_id_), contacts_manager_->get_my_id(),
|
||||
td_api::make_object<td_api::chatMemberStatusMember>(),
|
||||
messages_manager_->add_dialog_participant(DialogId(request.chat_id_), contacts_manager_->get_my_id(), 0,
|
||||
std::move(promise));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user