Skip to content

Commit

Permalink
Remove call_participant_user_id_ field mentions.
Browse files Browse the repository at this point in the history
  • Loading branch information
levlam committed Oct 30, 2024
1 parent 83c8a6f commit 75b3a4b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions td/telegram/CallActor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,6 @@ Status CallActor::do_update_call(const telegram_api::phoneCallWaiting &call) {
is_call_id_inited_ = true;
is_video_ |= call.video_;
call_admin_user_id_ = UserId(call.admin_id_);
// call_participant_user_id_ = UserId(call.participant_id_);
on_get_call_id();

if (!call_state_.is_created) {
Expand All @@ -543,7 +542,6 @@ Status CallActor::do_update_call(const telegram_api::phoneCallRequested &call) {
is_call_id_inited_ = true;
is_video_ |= call.video_;
call_admin_user_id_ = UserId(call.admin_id_);
// call_participant_user_id_ = UserId(call.participant_id_);
on_get_call_id();

dh_handshake_.set_g_a_hash(call.g_a_hash_.as_slice());
Expand Down Expand Up @@ -574,7 +572,6 @@ Status CallActor::do_update_call(const telegram_api::phoneCallAccepted &call) {
call_access_hash_ = call.access_hash_;
is_call_id_inited_ = true;
call_admin_user_id_ = UserId(call.admin_id_);
// call_participant_user_id_ = UserId(call.participant_id_);
on_get_call_id();
}
is_video_ |= call.video_;
Expand Down
1 change: 0 additions & 1 deletion td/telegram/CallActor.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ class CallActor final : public NetQueryCallback {
bool has_notification_{false};
int64 call_access_hash_{0};
UserId call_admin_user_id_;
// UserId call_participant_user_id_;

CallState call_state_;
bool call_state_need_flush_{false};
Expand Down

0 comments on commit 75b3a4b

Please sign in to comment.