Minor.
This commit is contained in:
parent
af33e8343a
commit
4b2c948a99
|
@ -13368,7 +13368,7 @@ std::pair<DialogId, unique_ptr<MessagesManager::Message>> MessagesManager::creat
|
|||
}
|
||||
|
||||
int32 ttl = message_info.ttl;
|
||||
bool is_content_secret = is_secret_message_content(ttl, content_type); // should be calculated before TTL is adjusted
|
||||
bool is_content_secret = is_secret_message_content(ttl, content_type); // must be calculated before TTL is adjusted
|
||||
if (ttl < 0 || (message_id.is_scheduled() && ttl != 0)) {
|
||||
LOG(ERROR) << "Wrong TTL = " << ttl << " received in " << message_id << " in " << dialog_id;
|
||||
ttl = 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user