Fix supergroup members search.

GitOrigin-RevId: dc09991a69c2aed4fcbcee4b5851f858b5359585
This commit is contained in:
levlam 2019-03-13 17:30:58 +03:00
parent 706144361d
commit 07b24062d4

View File

@ -276,11 +276,11 @@ class ChannelParticipantsFilter {
}
bool is_restricted() const {
return type == Type::Search;
return type == Type::Restricted;
}
bool is_banned() const {
return type == Type::Search;
return type == Type::Banned;
}
};