diff options
author | Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp> | 2018-03-25 06:07:23 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-03-24 22:07:23 +0100 |
commit | cbf97c03bba35a642e6f1d1a698aad7a69ad13a3 (patch) | |
tree | 9e8795ef68c0f0fee5909fcec84f218d0b205a94 /app/javascript/mastodon/features/ui/index.js | |
parent | 9a1a55ce526c956ac6b35897d483c316b7ad4394 (diff) |
Allow clients to fetch notifications made while they were offline (#6886)
Diffstat (limited to 'app/javascript/mastodon/features/ui/index.js')
-rw-r--r-- | app/javascript/mastodon/features/ui/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/mastodon/features/ui/index.js b/app/javascript/mastodon/features/ui/index.js index 59412908a..b6a2a6cfc 100644 --- a/app/javascript/mastodon/features/ui/index.js +++ b/app/javascript/mastodon/features/ui/index.js @@ -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 () { |