Improve warnings about changed MessageForwardInfo.
This commit is contained in:
parent
cde0cc4afd
commit
887ddbd88e
@ -36660,7 +36660,10 @@ bool MessagesManager::update_message(Dialog *d, Message *old_message, unique_ptr
|
||||
if (replace_legacy) {
|
||||
return false;
|
||||
}
|
||||
if (!is_scheduled && !message_id.is_yet_unsent()) {
|
||||
if (old_message->forward_info->is_imported != new_message->forward_info->is_imported) {
|
||||
return true;
|
||||
}
|
||||
if (!is_scheduled && !message_id.is_yet_unsent() && !old_message->forward_info->is_imported) {
|
||||
return true;
|
||||
}
|
||||
return !is_forward_info_sender_hidden(new_message->forward_info.get()) &&
|
||||
|
Loading…
Reference in New Issue
Block a user