mirror of
https://github.com/wassname/talk.git
synced 2026-09-12 13:01:11 +08:00
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:
@@ -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()}));
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user