Silence expected warning.
GitOrigin-RevId: f32e419fb5a4da3663138be0fcef05475994caa4
This commit is contained in:
parent
d6404db146
commit
69ddff66bc
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user