summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-05-19 09:33:29 -0400
committerHarrison Healey <harrisonmhealey@gmail.com>2017-05-19 09:33:29 -0400
commit2a146766f0fda210d82c48e3aef578a332c21cbb (patch)
tree7ef66bbd928119cdb729879949f0d5934c4f4763 /webapp
parent577ed27f1bb060080d311342047e31943a02ccbb (diff)
downloadchat-2a146766f0fda210d82c48e3aef578a332c21cbb.tar.gz
chat-2a146766f0fda210d82c48e3aef578a332c21cbb.tar.bz2
chat-2a146766f0fda210d82c48e3aef578a332c21cbb.zip
Pull sessions after revoking one (#6436)
Diffstat (limited to 'webapp')
-rw-r--r--webapp/components/activity_log_modal/activity_log_modal.jsx4
1 files changed, 3 insertions, 1 deletions
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() {