Refactor communication

Add QoS andd retain flag
Refactor reducer
This commit is contained in:
Thomas Nordquist
2019-01-20 05:30:21 +01:00
parent 1839b551c0
commit f893d5ce60
21 changed files with 433 additions and 166 deletions

View File

@@ -32,7 +32,7 @@ export const showError = (error?: string) => ({
})
export const disconnect = () => (dispatch: Dispatch<CustomAction>, getState: () => AppState) => {
rendererEvents.emit(removeConnection, getState().connectionId)
rendererEvents.emit(removeConnection, getState().tooBigReducer.connectionId)
dispatch({
type: ActionTypes.disconnect,