diff options
author | Christopher Speller <crspeller@gmail.com> | 2017-03-06 16:10:43 -0500 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2017-03-06 16:10:43 -0500 |
commit | 944e74feb87d9a0acbe66c0c08a74ad450ea79bd (patch) | |
tree | 42c2cfa007b9533fc2cd4c99abbb760ed8175566 /webapp/actions/websocket_actions.jsx | |
parent | a87cb40993c9321c1faf6adf0c0f90ed017659a9 (diff) | |
download | chat-944e74feb87d9a0acbe66c0c08a74ad450ea79bd.tar.gz chat-944e74feb87d9a0acbe66c0c08a74ad450ea79bd.tar.bz2 chat-944e74feb87d9a0acbe66c0c08a74ad450ea79bd.zip |
Prevented RHS from closing when you reply to a message that had been deleted. (#5651)
Diffstat (limited to 'webapp/actions/websocket_actions.jsx')
-rw-r--r-- | webapp/actions/websocket_actions.jsx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/webapp/actions/websocket_actions.jsx b/webapp/actions/websocket_actions.jsx index b442b9083..913a89221 100644 --- a/webapp/actions/websocket_actions.jsx +++ b/webapp/actions/websocket_actions.jsx @@ -212,11 +212,6 @@ function handlePostEditEvent(msg) { function handlePostDeleteEvent(msg) { const post = JSON.parse(msg.data.post); GlobalActions.emitPostDeletedEvent(post); - - const selectedPostId = PostStore.getSelectedPostId(); - if (selectedPostId === post.id) { - GlobalActions.emitCloseRightHandSide(); - } } function handleLeaveTeamEvent(msg) { |