Automatically close unclosed contours.

This commit is contained in:
levlam 2020-12-16 16:04:27 +03:00
parent 7fc2e783ed
commit 3681da21d8
3 changed files with 7 additions and 3 deletions

View File

@ -903,8 +903,8 @@ void GroupCallManager::on_update_group_call_participants(
}
auto &pending_updates = group_call_participants->pending_updates_[version];
if (!pending_updates.empty()) {
LOG(ERROR) << "Receive duplicate updateGroupCallParticipants with version " << version << " in "
<< input_group_call_id;
LOG(INFO) << "Receive duplicate updateGroupCallParticipants with version " << version << " in "
<< input_group_call_id;
sync_group_call_participants(input_group_call_id);
return;
}

View File

@ -1498,6 +1498,10 @@ vector<td_api::object_ptr<td_api::closedVectorPath>> StickersManager::get_sticke
make_point(last_end_control_point_x, last_end_control_point_y), make_point(x, y)));
break;
}
case 'm':
case 'M':
pos--;
// falltrough
case 'z':
case 'Z':
if (x != start_x || y != start_y) {

View File

@ -472,7 +472,7 @@ class SslStreamImpl {
return 0;
}
}
/* fall through */
/* fallthrough */
default:
LOG(DEBUG) << "SSL_ERROR Default";
return create_openssl_error(1, "SSL error ");