// Token: 0x06000573 RID: 1395 RVA: 0x0002B388 File Offset: 0x00029588 protected void SetInfobarMessages() { if (!this.isCalendarItem) { RenderingUtilities.RenderReplyForwardMessageStatus(base.Item, base.Infobar, base.UserContext); if (this.isDelegated) { base.Infobar.AddMessageText(string.Format(LocalizedStrings.GetNonEncoded(this.delegateMessage), MeetingUtilities.GetReceivedOnBehalfOfDisplayName((MeetingMessage)base.Item)), InfobarMessageType.Informational); } } object obj = base.Item.TryGetProperty(MessageItemSchema.IsDraft); if (obj is bool && (bool)obj) { if (ObjectClass.IsMeetingResponse(this.ItemType)) { base.Infobar.AddMessageLocalized(-1981719796, InfobarMessageType.Informational); } } else { InfobarMessageBuilder.AddImportance(base.Infobar, base.Item); InfobarMessageBuilder.AddSensitivity(base.Infobar, base.Item); } InfobarMessageBuilder.AddFlag(base.Infobar, base.Item, base.UserContext); }
// Token: 0x060005FE RID: 1534 RVA: 0x000300A8 File Offset: 0x0002E2A8 protected override void OnLoad(EventArgs e) { base.OnLoad(e); if (ObjectClass.IsMessage(base.OwaContext.FormsRegistryContext.Type, false)) { this.message = base.Initialize <MessageItem>(ReadMessage.prefetchProperties); } else { this.message = base.InitializeAsMessageItem(ReadMessage.prefetchProperties); } this.recipientWell = new MessageRecipientWell(base.UserContext, this.message); RenderingUtilities.RenderReplyForwardMessageStatus(this.message, base.Infobar, base.UserContext); object obj = this.message.TryGetProperty(MessageItemSchema.IsDraft); if (obj is bool && (bool)obj) { base.Infobar.AddMessageLocalized(-1981719796, InfobarMessageType.Informational); } else { InfobarMessageBuilder.AddImportance(base.Infobar, this.message); InfobarMessageBuilder.AddSensitivity(base.Infobar, this.message); InfobarMessageBuilder.AddCompliance(base.UserContext, base.Infobar, this.message, false); if (Utilities.IsClearSigned(this.message) || Utilities.IsOpaqueSigned(this.message)) { base.Infobar.AddMessageLocalized(-1329088272, InfobarMessageType.Warning); } else if (Utilities.IsEncrypted(this.message)) { base.Infobar.AddMessageLocalized(-767943720, InfobarMessageType.Warning); } } InfobarMessageBuilder.AddFlag(base.Infobar, this.message, base.UserContext); if (this.message.Id != null && !this.message.IsRead) { this.message.MarkAsRead(Utilities.ShouldSuppressReadReceipt(base.UserContext, this.message), false); } this.isJunk = false; if (!this.isEmbeddedItem) { this.isJunk = Utilities.IsDefaultFolderId(base.Item.Session, this.CurrentFolderId, DefaultFolderType.JunkEmail); } base.HandleReadReceipt(this.message); }