GitOrigin-RevId: e271b99a124cfdac7a15e78d50594402bcdc75a4
This commit is contained in:
levlam 2018-03-13 01:21:41 +03:00
parent 85c2cc160d
commit d9e76824ab

View File

@ -22202,7 +22202,7 @@ bool MessagesManager::need_message_text_changed_warning(const Message *old_messa
// server has deleted first entity and ltrim the message // server has deleted first entity and ltrim the message
return false; return false;
} }
for (auto &entity : new_content->entities) { for (auto &entity : new_content->text.entities) {
if (entity.type == MessageEntity::Type::PhoneNumber) { if (entity.type == MessageEntity::Type::PhoneNumber) {
// TODO remove after find_phone_numbers is implemented // TODO remove after find_phone_numbers is implemented
return false; return false;