Merge remote-tracking branch 'td/master'
This commit is contained in:
commit
9df560dd31
@ -4516,7 +4516,7 @@ setChatPhoto chat_id:int53 photo:InputChatPhoto = Ok;
|
||||
|
||||
//@description Changes the message TTL setting (sets a new self-destruct timer) in a chat. Requires can_delete_messages administrator right in basic groups, supergroups and channels
|
||||
//-Message TTL setting of a chat with the current user (Saved Messages) and the chat 777000 (Telegram) can't be changed
|
||||
//@chat_id Chat identifier @ttl New TTL value, in seconds; must be one of 0, 86400, 604800 unless chat is secret
|
||||
//@chat_id Chat identifier @ttl New TTL value, in seconds; must be one of 0, 86400, 7 * 86400, or 31 * 86400 unless the chat is secret
|
||||
setChatMessageTtlSetting chat_id:int53 ttl:int32 = Ok;
|
||||
|
||||
//@description Changes the chat members permissions. Supported only for basic groups and supergroups. Requires can_restrict_members administrator right
|
||||
|
@ -9587,7 +9587,9 @@ void MessagesManager::on_get_history(DialogId dialog_id, MessageId from_message_
|
||||
}
|
||||
}
|
||||
|
||||
have_next = true;
|
||||
if (!message_ids.empty()) {
|
||||
have_next = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -165,7 +165,7 @@ class GetDifferenceQuery final : public Td::ResultHandler {
|
||||
}
|
||||
};
|
||||
|
||||
const double UpdatesManager::MAX_UNFILLED_GAP_TIME = 0.4;
|
||||
const double UpdatesManager::MAX_UNFILLED_GAP_TIME = 0.7;
|
||||
|
||||
UpdatesManager::UpdatesManager(Td *td, ActorShared<> parent) : td_(td), parent_(std::move(parent)) {
|
||||
pts_manager_.init(-1);
|
||||
|
Loading…
Reference in New Issue
Block a user