protected override QueryResult GetQueryResult(Folder folder)
        {
            bool flag = SearchUtil.IsComplexClutterFilteredView(base.ViewFilter, base.ClutterFilter);

            if (base.ViewFilter == ViewFilter.TaskOverdue || flag)
            {
                ExTraceGlobals.NotificationsCallTracer.TraceDebug <string>((long)this.GetHashCode(), "MessageItemRowNotificationHandler.GetQueryResult Start. subscription {0}", base.SubscriptionId);
                QueryFilter queryFilter = flag ? SearchUtil.GetViewQueryForComplexClutterFilteredView(base.ClutterFilter, false) : SearchUtil.GetViewQueryFilter(base.ViewFilter);
                return(folder.ItemQuery(ItemQueryType.None, queryFilter, base.SortBy, this.SubscriptionProperties));
            }
            return(base.GetQueryResult(folder));
        }
        // Token: 0x06000D60 RID: 3424 RVA: 0x00032544 File Offset: 0x00030744
        protected override QueryResult GetQueryResult(Folder folder)
        {
            ExTraceGlobals.NotificationsCallTracer.TraceDebug <string>((long)this.GetHashCode(), "[ConversationRowNotificationHandler.GetQueryResult] SubscriptionId: {0}", base.SubscriptionId);
            QueryFilter queryFilter = null;

            SortBy[] sortColumns = base.SortBy;
            if (SearchUtil.IsComplexClutterFilteredView(base.ViewFilter, base.ClutterFilter))
            {
                queryFilter = SearchUtil.GetViewQueryForComplexClutterFilteredView(base.ClutterFilter, true);
            }
            else if (!string.IsNullOrEmpty(base.FromFilter))
            {
                queryFilter = PeopleIKnowQuery.GetConversationQueryFilter(base.FromFilter);
                sortColumns = PeopleIKnowQuery.GetConversationQuerySortBy(base.SortBy);
            }
            return(folder.ConversationItemQuery(queryFilter, sortColumns, this.SubscriptionProperties));
        }