Support peerSettings in UserFull.

GitOrigin-RevId: 31bc7325a636db5ac71f7f3bf37ca5e2fb18a160
This commit is contained in:
levlam 2019-10-10 19:10:03 +03:00
parent a5a69812e5
commit 4801b1ca9e

View File

@ -7321,6 +7321,8 @@ void ContactsManager::on_get_user_full(tl_object_ptr<telegram_api::userFull> &&u
td_->messages_manager_->on_update_dialog_notify_settings(DialogId(user_id), std::move(user_full->notify_settings_),
"on_get_user_full");
td_->messages_manager_->on_get_peer_settings(DialogId(user_id), std::move(user_full->settings_));
{
MessageId pinned_message_id;
if ((user_full->flags_ & USER_FULL_FLAG_HAS_PINNED_MESSAGE) != 0) {