We already have the default for closedMessage to be null in the model. Removing the passing of a blank closedMEssage.

This commit is contained in:
gaba
2016-12-13 10:42:30 -08:00
parent 894a6c929d
commit 387e20309a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -48,6 +48,6 @@ export const updateOpenStatus = status => dispatch => {
dispatch(updateOpenStream({closedAt: null}));
} else {
dispatch(closeStream());
dispatch(updateOpenStream({closedAt: new Date().getTime(), closedMessage: ''}));
dispatch(updateOpenStream({closedAt: new Date().getTime()}));
}
};