Start fetching announcements on page load

This commit is contained in:
Tusooa Zhu 2022-03-17 18:02:05 -04:00 committed by tusooa
parent b4a7e58bec
commit 8cb7f7d6d2
No known key found for this signature in database
GPG Key ID: 7B467EDE43A08224

View File

@ -374,6 +374,7 @@ const afterStoreSetup = async ({ store, i18n }) => {
// Start fetching things that don't need to block the UI // Start fetching things that don't need to block the UI
store.dispatch('fetchMutes') store.dispatch('fetchMutes')
store.dispatch('startFetchingAnnouncements')
getTOS({ store }) getTOS({ store })
getStickers({ store }) getStickers({ store })