// Token: 0x0600157B RID: 5499 RVA: 0x0007EA98 File Offset: 0x0007CC98 internal bool IsResponseMessageToSingleMeeting(IMessageItem message) { string className = message.ClassName; if (ObjectClass.IsMeetingResponse(className)) { bool flag = InternalRecurrence.HasRecurrenceBlob(message.CoreItem.PropertyBag); return(!flag); } return(false); }
private bool ValidateCorrelatedItem(CalendarItemBase calendarItem) { byte[] largeBinaryProperty = calendarItem.PropertyBag.GetLargeBinaryProperty(InternalSchema.AppointmentRecurrenceBlob); bool valueOrDefault = calendarItem.GetValueOrDefault <bool>(InternalSchema.AppointmentRecurring); bool flag = this is MeetingResponse; if (flag && valueOrDefault) { bool valueOrDefault2 = base.GetValueOrDefault <bool>(InternalSchema.AppointmentCounterProposal); if (valueOrDefault2) { return(false); } } if (largeBinaryProperty == null || !valueOrDefault) { return(true); } bool valueOrDefault3 = base.GetValueOrDefault <bool>(InternalSchema.IsException); if (valueOrDefault3) { return(false); } int valueOrDefault4 = base.GetValueOrDefault <int>(InternalSchema.AppointmentSequenceNumber); int valueOrDefault5 = calendarItem.GetValueOrDefault <int>(InternalSchema.AppointmentSequenceNumber); if (valueOrDefault4 > valueOrDefault5) { return(true); } bool flag2 = InternalRecurrence.HasRecurrenceBlob(base.PropertyBag); bool valueOrDefault6 = base.GetValueOrDefault <bool>(InternalSchema.IsRecurring); bool?valueAsNullable = base.GetValueAsNullable <bool>(InternalSchema.AppointmentRecurring); bool flag3 = flag2 && valueOrDefault6 && (valueAsNullable == null || valueAsNullable.Value); if (flag3) { return(true); } bool flag4 = this is MeetingForwardNotification; bool flag5 = this is MeetingCancellation && new GlobalObjectId(this).IsForeignUid(); return(flag || flag5 || flag4); }