Fix formatting.
GitOrigin-RevId: e78b1517297af214b7738350411d3e1e520a2066
This commit is contained in:
parent
1afdf258ab
commit
e7767cf106
@ -3564,9 +3564,9 @@ void NotificationManager::add_message_push_notification(DialogId dialog_id, Mess
|
||||
int32 flags = telegram_api::user::FIRST_NAME_MASK | telegram_api::user::MIN_MASK;
|
||||
auto user = telegram_api::make_object<telegram_api::user>(
|
||||
flags, false /*ignored*/, false /*ignored*/, false /*ignored*/, false /*ignored*/, false /*ignored*/,
|
||||
false /*ignored*/, false /*ignored*/, false /*ignored*/, false /*ignored*/, false /*ignored*/, false /*ignored*/,
|
||||
false /*ignored*/, false /*ignored*/, sender_user_id.get(), 0, sender_name, string(), string(), string(),
|
||||
nullptr, nullptr, 0, string(), string(), string());
|
||||
false /*ignored*/, false /*ignored*/, false /*ignored*/, false /*ignored*/, false /*ignored*/,
|
||||
false /*ignored*/, false /*ignored*/, false /*ignored*/, sender_user_id.get(), 0, sender_name, string(),
|
||||
string(), string(), nullptr, nullptr, 0, string(), string(), string());
|
||||
td_->contacts_manager_->on_get_user(std::move(user), "add_message_push_notification");
|
||||
}
|
||||
|
||||
|
@ -2502,8 +2502,8 @@ class CliClient final : public Actor {
|
||||
problems.emplace_back(td_api::make_object<td_api::callProblemNoice>());
|
||||
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>(as_call_id(call_id), to_integer<int32>(rating), "Wow, such good call! (TDLib test)", std::move(problems)));
|
||||
send_request(td_api::make_object<td_api::sendCallRating>(
|
||||
as_call_id(call_id), to_integer<int32>(rating), "Wow, such good call! (TDLib test)", std::move(problems)));
|
||||
} else if (op == "scdi" || op == "SendCallDebugInformation") {
|
||||
send_request(td_api::make_object<td_api::sendCallDebugInformation>(as_call_id(args), "{}"));
|
||||
} else if (op == "gcil") {
|
||||
|
@ -37,7 +37,9 @@ class AtomicRefCnt {
|
||||
};
|
||||
|
||||
template <class DataT, class DeleterT>
|
||||
class SharedPtrRaw : public DeleterT, private MpscLinkQueueImpl::Node {
|
||||
class SharedPtrRaw
|
||||
: public DeleterT
|
||||
, private MpscLinkQueueImpl::Node {
|
||||
public:
|
||||
explicit SharedPtrRaw(DeleterT deleter) : DeleterT(std::move(deleter)), ref_cnt_{0}, option_magic_(Magic) {
|
||||
}
|
||||
|
Reference in New Issue
Block a user