您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

reducer.js 439B

1234567891011121314151617
  1. // @flow
  2. import { ReducerRegistry, set } from '../base/redux';
  3. import { SET_CURRENT_NOTIFICATION_UID } from './actionTypes';
  4. /**
  5. * Reduces the redux actions of the feature talk while muted.
  6. */
  7. ReducerRegistry.register('features/talk-while-muted', (state = { }, action) => {
  8. switch (action.type) {
  9. case SET_CURRENT_NOTIFICATION_UID:
  10. return set(state, 'currentNotificationUid', action.uid);
  11. }
  12. return state;
  13. });