Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions ui/src/actions/remoteAccess.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export function requestControl(message) {
};
}

export function cancelControlRequest() {
function cancelControlRequest() {
return async (dispatch) => {
await sendCancelControlRequest();
dispatch(getLoginInfo());
Expand Down Expand Up @@ -108,10 +108,6 @@ export function updateTimeoutGivesControl(timeoutGivesControl) {
};
}

export function setObservers(observers) {
return { type: 'SET_OBSERVERS', observers };
}

export function resetChatMessageCount() {
return async (dispatch) => {
await sendSetAllMessagesRead();
Expand Down
3 changes: 0 additions & 3 deletions ui/src/reducers/remoteAccess.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ function remoteAccessReducer(state = INITIAL_STATE, action = {}) {
case 'SET_MASTER': {
return { ...state, sid: action.sid };
}
case 'SET_OBSERVERS': {
return { ...state, observers: action.observers };
}
case 'SET_ALLOW_REMOTE': {
return { ...state, allowRemote: action.allow };
}
Expand Down