Fix supergroup members search.
GitOrigin-RevId: dc09991a69c2aed4fcbcee4b5851f858b5359585
This commit is contained in:
parent
706144361d
commit
07b24062d4
@ -276,11 +276,11 @@ class ChannelParticipantsFilter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool is_restricted() const {
|
bool is_restricted() const {
|
||||||
return type == Type::Search;
|
return type == Type::Restricted;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool is_banned() const {
|
bool is_banned() const {
|
||||||
return type == Type::Search;
|
return type == Type::Banned;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user