1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 11:18:59 +01:00
This commit is contained in:
Daniil Gentili 2023-07-15 22:33:35 +02:00
parent 06aa2e8057
commit 74a363d1ef

View File

@ -23,7 +23,7 @@ final class FilterNot extends Filter
// The nested filter is a FilterNot, optimize !!A => A
return $filter->filter;
}
if ($filter === $this) {
if ($filter === $this->filter) {
// The nested filter didn't replace itself
return $this;
}