0
0
Fork 0

Allow clients to fetch notifications made while they were offline (#6886)

This commit is contained in:
Akihiko Odaki 2018-03-25 06:07:23 +09:00 committed by Eugen Rochko
parent 9a1a55ce52
commit cbf97c03bb
5 changed files with 82 additions and 114 deletions

View file

@ -11,7 +11,7 @@ import { isMobile } from '../../is_mobile';
import { debounce } from 'lodash';
import { uploadCompose, resetCompose } from '../../actions/compose';
import { expandHomeTimeline } from '../../actions/timelines';
import { refreshNotifications } from '../../actions/notifications';
import { expandNotifications } from '../../actions/notifications';
import { clearHeight } from '../../actions/height_cache';
import { WrappedSwitch, WrappedRoute } from './util/react_router_helpers';
import UploadArea from './components/upload_area';
@ -285,7 +285,7 @@ export default class UI extends React.PureComponent {
}
this.props.dispatch(expandHomeTimeline());
this.props.dispatch(refreshNotifications());
this.props.dispatch(expandNotifications());
}
componentDidMount () {