|
|
@ -1,6 +1,6 @@ |
|
|
|
import api, { getLinks } from '../api'; |
|
|
|
import api, { getLinks } from '../api'; |
|
|
|
import IntlMessageFormat from 'intl-messageformat'; |
|
|
|
import IntlMessageFormat from 'intl-messageformat'; |
|
|
|
import { fetchRelationships } from './accounts'; |
|
|
|
import { fetchFollowRequests, fetchRelationships } from './accounts'; |
|
|
|
import { |
|
|
|
import { |
|
|
|
importFetchedAccount, |
|
|
|
importFetchedAccount, |
|
|
|
importFetchedAccounts, |
|
|
|
importFetchedAccounts, |
|
|
@ -78,6 +78,10 @@ export function updateNotifications(notification, intlMessages, intlLocale) { |
|
|
|
filtered = regex && regex.test(searchIndex); |
|
|
|
filtered = regex && regex.test(searchIndex); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (['follow_request'].includes(notification.type)) { |
|
|
|
|
|
|
|
dispatch(fetchFollowRequests()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
dispatch(submitMarkers()); |
|
|
|
dispatch(submitMarkers()); |
|
|
|
|
|
|
|
|
|
|
|
if (showInColumn) { |
|
|
|
if (showInColumn) { |
|
|
|