Allow clients to fetch notifications made while they were offline (#6886)
This commit is contained in:
parent
9a1a55ce52
commit
cbf97c03bb
5 changed files with 82 additions and 114 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue