[Glitch] Allow clients to fetch notifications made while they were offline
Port cbf97c03bb
to glitch-soc
This commit is contained in:
@@ -10,7 +10,7 @@ import { isMobile } from 'flavours/glitch/util/is_mobile';
|
||||
import { debounce } from 'lodash';
|
||||
import { uploadCompose, resetCompose } from 'flavours/glitch/actions/compose';
|
||||
import { expandHomeTimeline } from 'flavours/glitch/actions/timelines';
|
||||
import { refreshNotifications } from 'flavours/glitch/actions/notifications';
|
||||
import { expandNotifications } from 'flavours/glitch/actions/notifications';
|
||||
import { clearHeight } from 'flavours/glitch/actions/height_cache';
|
||||
import { WrappedSwitch, WrappedRoute } from 'flavours/glitch/util/react_router_helpers';
|
||||
import UploadArea from './components/upload_area';
|
||||
@@ -220,7 +220,7 @@ export default class UI extends React.Component {
|
||||
}
|
||||
|
||||
this.props.dispatch(expandHomeTimeline());
|
||||
this.props.dispatch(refreshNotifications());
|
||||
this.props.dispatch(expandNotifications());
|
||||
}
|
||||
|
||||
componentDidMount () {
|
||||
|
Reference in New Issue
Block a user