From 41f6003b092570064a71ff802e16f68bc0611cfd Mon Sep 17 00:00:00 2001 From: levlam Date: Sun, 31 Jan 2021 20:43:57 +0300 Subject: [PATCH] Fix supergroupMembersFilterMention with non-zero thread. --- td/telegram/DialogParticipant.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/DialogParticipant.cpp b/td/telegram/DialogParticipant.cpp index d4700b0d2..65ff4c06a 100644 --- a/td/telegram/DialogParticipant.cpp +++ b/td/telegram/DialogParticipant.cpp @@ -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(