diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-05-19 09:33:29 -0400 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2017-05-19 09:33:29 -0400 |
commit | 2a146766f0fda210d82c48e3aef578a332c21cbb (patch) | |
tree | 7ef66bbd928119cdb729879949f0d5934c4f4763 /webapp/components | |
parent | 577ed27f1bb060080d311342047e31943a02ccbb (diff) | |
download | chat-2a146766f0fda210d82c48e3aef578a332c21cbb.tar.gz chat-2a146766f0fda210d82c48e3aef578a332c21cbb.tar.bz2 chat-2a146766f0fda210d82c48e3aef578a332c21cbb.zip |
Pull sessions after revoking one (#6436)
Diffstat (limited to 'webapp/components')
-rw-r--r-- | webapp/components/activity_log_modal/activity_log_modal.jsx | 4 |
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() { |