Silence expected warning.

GitOrigin-RevId: f32e419fb5a4da3663138be0fcef05475994caa4
This commit is contained in:
levlam 2020-05-04 22:28:55 +03:00
parent d6404db146
commit 69ddff66bc

View File

@ -27667,6 +27667,10 @@ bool MessagesManager::need_message_changed_warning(const Message *old_message) {
// original message may be edited
return false;
}
if (old_message->ttl > 0) {
// message can expire
return false;
}
return true;
}