Prevented RHS from closing when you reply to a message that had been deleted. (#5651)

Этот коммит содержится в:
Christopher Speller
2017-03-06 16:10:43 -05:00
коммит произвёл Corey Hulen
родитель a87cb40993
Коммит 944e74feb8
3 изменённых файлов: 2 добавлений и 27 удалений

Просмотреть файл

@@ -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) {