Fix check for acceptable reply header.

GitOrigin-RevId: 9c636e96ef5e615fd434fb2e63e459eead57a5bb
This commit is contained in:
levlam 2020-09-23 02:17:57 +03:00
parent ca2465a025
commit 590fc8f8bb

View File

@ -404,7 +404,7 @@ bool UpdatesManager::is_acceptable_message_reply_header(
return true;
}
if (is_acceptable_peer(header->reply_to_peer_id_)) {
if (!is_acceptable_peer(header->reply_to_peer_id_)) {
return false;
}
return true;