Fix misprint.

GitOrigin-RevId: ab452b413cf6c9f32ad0a882ab8b3ae826babd2f
This commit is contained in:
levlam 2019-08-18 15:24:51 +03:00
parent dd15a176e5
commit 08f13c203f
4 changed files with 6 additions and 6 deletions

View File

@ -1636,8 +1636,8 @@ callStateError error:error = CallState;
//@description The user heard their own voice
callProblemEcho = CallProblem;
//@description The user heard background noice
callProblemNoice = CallProblem;
//@description The user heard background noise
callProblemNoise = CallProblem;
//@description The other side kept disappearing
callProblemInterruptions = CallProblem;

Binary file not shown.

View File

@ -207,7 +207,7 @@ void CallActor::rate_call(int32 rating, string comment, vector<td_api::object_pt
switch (problem_id) {
case td_api::callProblemEcho::ID:
return "echo";
case td_api::callProblemNoice::ID:
case td_api::callProblemNoise::ID:
return "noise";
case td_api::callProblemInterruptions::ID:
return "interruptions";

View File

@ -2503,10 +2503,10 @@ class CliClient final : public Actor {
std::tie(call_id, rating) = split(args);
vector<td_api::object_ptr<td_api::CallProblem>> problems;
problems.emplace_back(td_api::make_object<td_api::callProblemNoice>());
problems.emplace_back(td_api::make_object<td_api::callProblemNoice>());
problems.emplace_back(td_api::make_object<td_api::callProblemNoise>());
problems.emplace_back(td_api::make_object<td_api::callProblemNoise>());
problems.emplace_back(nullptr);
problems.emplace_back(td_api::make_object<td_api::callProblemNoice>());
problems.emplace_back(td_api::make_object<td_api::callProblemNoise>());
problems.emplace_back(td_api::make_object<td_api::callProblemEcho>());
problems.emplace_back(td_api::make_object<td_api::callProblemDistortedSpeech>());
send_request(td_api::make_object<td_api::sendCallRating>(