// Token: 0x06002E93 RID: 11923 RVA: 0x0010A058 File Offset: 0x00108258
        protected override OwaStoreObjectId GetSeekId()
        {
            OwaStoreObjectId owaStoreObjectId = (OwaStoreObjectId)base.GetParameter("SId");

            if (owaStoreObjectId == null)
            {
                return(null);
            }
            if (!owaStoreObjectId.IsConversationId && this.IsConversationView)
            {
                ConversationId conversationId = ConversationUtilities.MapItemToConversation(base.UserContext, owaStoreObjectId);
                if (conversationId != null)
                {
                    this.newSeekId = OwaStoreObjectId.CreateFromConversationId(conversationId, base.DataFolder, null);
                }
            }
            else if (owaStoreObjectId.IsConversationId && !this.IsConversationView)
            {
                StoreObjectId storeObjectId = ConversationUtilities.MapConversationToItem(base.UserContext, owaStoreObjectId.ConversationId, OwaStoreObjectId.CreateFromStoreObject(base.DataFolder));
                if (storeObjectId != null)
                {
                    this.newSeekId = OwaStoreObjectId.CreateFromStoreObjectId(storeObjectId, owaStoreObjectId);
                }
            }
            return(this.newSeekId ?? owaStoreObjectId);
        }
        public void IgnoreConversations()
        {
            DeleteItemInfo[]   array  = (DeleteItemInfo[])base.GetParameter("Itms");
            OwaStoreObjectId[] array2 = (OwaStoreObjectId[])base.GetParameter("Cnvs");
            if (array != null)
            {
                if (array2 != null)
                {
                    throw new OwaInvalidRequestException("IgnoreConversations does not accept both conversation IDs and items.");
                }
                if (array.Length > 500)
                {
                    throw new OwaInvalidOperationException(string.Format(CultureInfo.InvariantCulture, "Calling ignore conversation on {0} item(s) in a single request is not supported", new object[]
                    {
                        array.Length
                    }));
                }
                OwaStoreObjectId        owaStoreObjectId = (OwaStoreObjectId)base.GetParameter("fId");
                MailboxSession          session          = (MailboxSession)owaStoreObjectId.GetSession(base.UserContext);
                List <OwaStoreObjectId> list             = new List <OwaStoreObjectId>(array.Length);
                using (Folder folder = Folder.Bind(session, owaStoreObjectId.StoreObjectId))
                {
                    foreach (DeleteItemInfo deleteItemInfo in array)
                    {
                        ConversationId conversationId = ConversationUtilities.MapItemToConversation(base.UserContext, deleteItemInfo.OwaStoreObjectId);
                        if (conversationId != null)
                        {
                            list.Add(OwaStoreObjectId.CreateFromConversationId(conversationId, folder, null));
                        }
                    }
                }
                array2 = list.ToArray();
            }
            base.CheckSizeOfBatchOperation(array2);
            bool flag = true;

            foreach (OwaStoreObjectId conversationId2 in array2)
            {
                flag &= ConversationUtilities.IgnoreConversation(base.UserContext, conversationId2);
            }
            if (!flag)
            {
                base.RenderErrorResult("errDel", 166628739);
            }
        }