// Token: 0x060013D4 RID: 5076 RVA: 0x00073581 File Offset: 0x00071781 internal void HandleEvent(IMapiEvent mapiEvent, IMailboxSession session, IStoreObject item) { if (PushNotificationMapiEventAnalyzer.IsSubscriptionChangeEvent(mapiEvent)) { this.HandleSubscriptionChangeEvent(session, item); return; } this.HandleNotificationEvent(mapiEvent, session, item); }
// Token: 0x060013D3 RID: 5075 RVA: 0x0007351C File Offset: 0x0007171C internal bool IsEventInteresting(IMapiEvent mapiEvent) { if (mapiEvent.ItemType != ObjectType.MAPI_MESSAGE && mapiEvent.ItemType != ObjectType.MAPI_FOLDER) { return(false); } if (PushNotificationMapiEventAnalyzer.IsSubscriptionChangeEvent(mapiEvent)) { return(true); } if (!this.AssistantConfig.IsPublishingEnabled) { return(false); } if (PushNotificationMapiEventAnalyzer.IsNewMessageEvent(mapiEvent)) { return(this.assistantCache.IsCacheUpdateRequiredForEmailSubscription(mapiEvent)); } return(PushNotificationMapiEventAnalyzer.IsIpmFolderContentChangeEvent(mapiEvent) && this.assistantCache.IsValidFolderMessageForEmailSubscription(mapiEvent)); }