Fix has/have spelling.
This commit is contained in:
parent
9948677047
commit
340e0f0b85
@ -3719,7 +3719,7 @@ updateChatVideoChat chat_id:int53 video_chat:videoChat = Update;
|
||||
//@description The value of the default disable_notification parameter, used when a message is sent to the chat, was changed @chat_id Chat identifier @default_disable_notification The new default_disable_notification value
|
||||
updateChatDefaultDisableNotification chat_id:int53 default_disable_notification:Bool = Update;
|
||||
|
||||
//@description Incoming messages were read or number of unread messages has been changed @chat_id Chat identifier @last_read_inbox_message_id Identifier of the last read incoming message @unread_count The number of unread messages left in the chat
|
||||
//@description Incoming messages were read or the number of unread messages has been changed @chat_id Chat identifier @last_read_inbox_message_id Identifier of the last read incoming message @unread_count The number of unread messages left in the chat
|
||||
updateChatReadInbox chat_id:int53 last_read_inbox_message_id:int53 unread_count:int32 = Update;
|
||||
|
||||
//@description Outgoing messages were read @chat_id Chat identifier @last_read_outbox_message_id Identifier of last read outgoing message
|
||||
@ -4168,7 +4168,7 @@ getFile file_id:int32 = File;
|
||||
//@remote_file_id Remote identifier of the file to get @file_type File type; pass null if unknown
|
||||
getRemoteFile remote_file_id:string file_type:FileType = File;
|
||||
|
||||
//@description Loads more chats from a chat list. The loaded chats and their positions in the chat list will be sent through updates. Chats are sorted by the pair (chat.position.order, chat.id) in descending order. Returns a 404 error if all chats has been loaded
|
||||
//@description Loads more chats from a chat list. The loaded chats and their positions in the chat list will be sent through updates. Chats are sorted by the pair (chat.position.order, chat.id) in descending order. Returns a 404 error if all chats have been loaded
|
||||
//@chat_list The chat list in which to load chats; pass null to load chats from the main chat list
|
||||
//@limit The maximum number of chats to be loaded. For optimal performance, the number of loaded chats is chosen by TDLib and can be smaller than the specified limit, even if the end of the list is not reached
|
||||
loadChats chat_list:ChatList limit:int32 = Ok;
|
||||
@ -5116,7 +5116,7 @@ setGroupCallParticipantVolumeLevel group_call_id:int32 participant_id:MessageSen
|
||||
//@is_hand_raised Pass true if the user's hand needs to be raised. Only self hand can be raised. Requires groupCall.can_be_managed group call flag to lower other's hand
|
||||
toggleGroupCallParticipantIsHandRaised group_call_id:int32 participant_id:MessageSender is_hand_raised:Bool = Ok;
|
||||
|
||||
//@description Loads more participants of a group call. The loaded participants will be received through updates. Use the field groupCall.loaded_all_participants to check whether all participants has already been loaded
|
||||
//@description Loads more participants of a group call. The loaded participants will be received through updates. Use the field groupCall.loaded_all_participants to check whether all participants have already been loaded
|
||||
//@group_call_id Group call identifier. The group call must be previously received through getGroupCall and must be joined or being joined
|
||||
//@limit The maximum number of participants to load; up to 100
|
||||
loadGroupCallParticipants group_call_id:int32 limit:int32 = Ok;
|
||||
|
@ -188,7 +188,7 @@ FileId AnimationsManager::on_get_animation(unique_ptr<Animation> new_animation,
|
||||
a->file_name = std::move(new_animation->file_name);
|
||||
}
|
||||
if (a->dimensions != new_animation->dimensions) {
|
||||
LOG(DEBUG) << "Animation " << file_id << " dimensions has changed";
|
||||
LOG(DEBUG) << "Animation " << file_id << " dimensions have changed";
|
||||
a->dimensions = new_animation->dimensions;
|
||||
}
|
||||
if (a->duration != new_animation->duration) {
|
||||
@ -518,7 +518,7 @@ void AnimationsManager::reload_saved_animations(bool force) {
|
||||
|
||||
void AnimationsManager::repair_saved_animations(Promise<Unit> &&promise) {
|
||||
if (td_->auth_manager_->is_bot()) {
|
||||
return promise.set_error(Status::Error(400, "Bots has no saved animations"));
|
||||
return promise.set_error(Status::Error(400, "Bots have no saved animations"));
|
||||
}
|
||||
|
||||
repair_saved_animations_queries_.push_back(std::move(promise));
|
||||
|
@ -2996,7 +2996,7 @@ void merge_message_contents(Td *td, const MessageContent *old_content, MessageCo
|
||||
if (need_message_changed_warning && need_message_text_changed_warning(old_, new_) &&
|
||||
old_->text.entities.size() <= MAX_CUSTOM_ENTITIES_COUNT &&
|
||||
need_message_entities_changed_warning(old_->text.entities, new_->text.entities)) {
|
||||
LOG(WARNING) << "Entities has changed in " << get_content_object(old_content) << ". New content is "
|
||||
LOG(WARNING) << "Entities have changed in " << get_content_object(old_content) << ". New content is "
|
||||
<< get_content_object(new_content);
|
||||
}
|
||||
need_update = true;
|
||||
|
@ -27816,7 +27816,7 @@ vector<Notification> MessagesManager::get_message_notifications_from_database_fo
|
||||
|
||||
bool is_correct = true;
|
||||
if (notification_id.get() >= from_notification_id.get()) {
|
||||
// possible if two messages has the same notification_id
|
||||
// possible if two messages have the same notification_id
|
||||
LOG(ERROR) << "Have nonmonotonic notification identifiers: " << d->dialog_id << " " << m->message_id << " "
|
||||
<< notification_id << " " << from_message_id << " " << from_notification_id;
|
||||
is_correct = false;
|
||||
|
@ -2047,7 +2047,7 @@ FileId StickersManager::on_get_sticker(unique_ptr<Sticker> new_sticker, bool rep
|
||||
} else if (replace) {
|
||||
CHECK(s->file_id == file_id);
|
||||
if (s->dimensions != new_sticker->dimensions && new_sticker->dimensions.width != 0) {
|
||||
LOG(DEBUG) << "Sticker " << file_id << " dimensions has changed";
|
||||
LOG(DEBUG) << "Sticker " << file_id << " dimensions have changed";
|
||||
s->dimensions = new_sticker->dimensions;
|
||||
}
|
||||
if (s->set_id != new_sticker->set_id && new_sticker->set_id.is_valid()) {
|
||||
@ -6131,7 +6131,7 @@ void StickersManager::reload_recent_stickers(bool is_attached, bool force) {
|
||||
|
||||
void StickersManager::repair_recent_stickers(bool is_attached, Promise<Unit> &&promise) {
|
||||
if (td_->auth_manager_->is_bot()) {
|
||||
return promise.set_error(Status::Error(400, "Bots has no recent stickers"));
|
||||
return promise.set_error(Status::Error(400, "Bots have no recent stickers"));
|
||||
}
|
||||
|
||||
repair_recent_stickers_queries_[is_attached].push_back(std::move(promise));
|
||||
@ -6536,7 +6536,7 @@ void StickersManager::reload_favorite_stickers(bool force) {
|
||||
|
||||
void StickersManager::repair_favorite_stickers(Promise<Unit> &&promise) {
|
||||
if (td_->auth_manager_->is_bot()) {
|
||||
return promise.set_error(Status::Error(400, "Bots has no favorite stickers"));
|
||||
return promise.set_error(Status::Error(400, "Bots have no favorite stickers"));
|
||||
}
|
||||
|
||||
repair_favorite_stickers_queries_.push_back(std::move(promise));
|
||||
|
@ -127,7 +127,7 @@ void PhotoRemoteFileLocation::AsKey::store(StorerT &storer) const {
|
||||
storer.store_slice(unique);
|
||||
break;
|
||||
case PhotoSizeSource::Type::StickerSetThumbnailVersion: // 13 bytes
|
||||
// sticker set thumbnails has no photo_id or document_id
|
||||
// sticker set thumbnails have no photo_id or document_id
|
||||
storer.store_slice(unique);
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user