background.ts: Introduce types for redux initialState
This commit is contained in:
@@ -832,11 +832,14 @@ function groupCallStateChange(
|
||||
didSomeoneStartPresenting = false;
|
||||
}
|
||||
|
||||
const { ourUuid } = getState().user;
|
||||
strictAssert(ourUuid, 'groupCallStateChange failed to fetch our uuid');
|
||||
|
||||
dispatch({
|
||||
type: GROUP_CALL_STATE_CHANGE,
|
||||
payload: {
|
||||
...payload,
|
||||
ourUuid: getState().user.ourUuid,
|
||||
ourUuid,
|
||||
},
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user