Fix supergroupMembersFilterMention with non-zero thread.

This commit is contained in:
levlam 2021-01-31 20:43:57 +03:00
parent a6a6237a3f
commit 41f6003b09

View File

@ -733,7 +733,7 @@ ChannelParticipantsFilter::get_input_channel_participants_filter() const {
if (!query.empty()) {
flags |= telegram_api::channelParticipantsMentions::Q_MASK;
}
if (!top_thread_message_id.is_valid()) {
if (top_thread_message_id.is_valid()) {
flags |= telegram_api::channelParticipantsMentions::TOP_MSG_ID_MASK;
}
return make_tl_object<telegram_api::channelParticipantsMentions>(