Fix unread notification count when polling (#16272)
* Fix unread notification count when polling Fixes #16236 * Immediately fetch markers to avoid incorrect unread notification count
This commit is contained in:
1 parent
689974b1ed
commit
92f1d739b5
2 files changed
+2
-2
No files matched your search
@@ -361,9 +361,9 @@ class UI extends React.PureComponent {
|
||||
this.props.dispatch(closeOnboarding());
|
||||
}
|
||||
|
||||
this.props.dispatch(fetchMarkers());
|
||||
this.props.dispatch(expandHomeTimeline());
|
||||
this.props.dispatch(expandNotifications());
|
||||
setTimeout(() => this.props.dispatch(fetchMarkers()), 500);
|
||||
setTimeout(() => this.props.dispatch(fetchFilters()), 500);
|
||||
|
||||
this.hotkeys.__mousetrap__.stopCallback = (e, element) => {
|
||||
|
||||
Reference in new issue
Block a user