From 2a146766f0fda210d82c48e3aef578a332c21cbb Mon Sep 17 00:00:00 2001
From: Joram Wilander <jwawilander@gmail.com>
Date: Fri, 19 May 2017 09:33:29 -0400
Subject: Pull sessions after revoking one (#6436)

---
 webapp/components/activity_log_modal/activity_log_modal.jsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'webapp/components/activity_log_modal/activity_log_modal.jsx')

diff --git a/webapp/components/activity_log_modal/activity_log_modal.jsx b/webapp/components/activity_log_modal/activity_log_modal.jsx
index 76f7bbf77..7f16603f4 100644
--- a/webapp/components/activity_log_modal/activity_log_modal.jsx
+++ b/webapp/components/activity_log_modal/activity_log_modal.jsx
@@ -52,7 +52,9 @@ export default class ActivityLogModal extends React.Component {
         setTimeout(() => {
             modalContent.removeClass('animation--highlight');
         }, 1500);
-        this.props.actions.revokeSession(UserStore.getCurrentId(), altId);
+        this.props.actions.revokeSession(UserStore.getCurrentId(), altId).then(() => {
+            this.props.actions.getSessions(UserStore.getCurrentId());
+        });
     }
 
     onShow() {
-- 
cgit v1.2.3-1-g7c22

