From a0788a1a9c1e24ac46ab5369927004019fbbfbd3 Mon Sep 17 00:00:00 2001
From: ahmadaldhalaan <46313624+ahmadaldhalaan@users.noreply.github.com>
Date: Sat, 28 Nov 2020 18:33:34 +1100
Subject: [PATCH] added necessary attributes

---
 iTrust/WebRoot/auth/hcp-patient/messageInbox.jsp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/iTrust/WebRoot/auth/hcp-patient/messageInbox.jsp b/iTrust/WebRoot/auth/hcp-patient/messageInbox.jsp
index e0840ee..3a802f5 100644
--- a/iTrust/WebRoot/auth/hcp-patient/messageInbox.jsp
+++ b/iTrust/WebRoot/auth/hcp-patient/messageInbox.jsp
@@ -17,6 +17,9 @@
 
 <%
 pageTitle = "iTrust - View My Message ";
+session.setAttribute("outbox",false);
+session.setAttribute("isHCP",userRole.equals("hcp"));
+loggingAction.logEvent(TransactionType.INBOX_VIEW, loggedInMID.longValue(), 0L, "");
 %>
 
 <%@include file="/header.jsp" %>
-- 
GitLab