Merge branch 'main' into glitch-soc/merge-upstream
This commit is contained in:
commit
463d23dfd5
12 changed files with 255 additions and 122 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import api, { getLinks } from '../api';
|
||||
import IntlMessageFormat from 'intl-messageformat';
|
||||
import { fetchRelationships } from './accounts';
|
||||
import { fetchFollowRequests, fetchRelationships } from './accounts';
|
||||
import {
|
||||
importFetchedAccount,
|
||||
importFetchedAccounts,
|
||||
|
|
@ -78,6 +78,10 @@ export function updateNotifications(notification, intlMessages, intlLocale) {
|
|||
filtered = regex && regex.test(searchIndex);
|
||||
}
|
||||
|
||||
if (['follow_request'].includes(notification.type)) {
|
||||
dispatch(fetchFollowRequests());
|
||||
}
|
||||
|
||||
dispatch(submitMarkers());
|
||||
|
||||
if (showInColumn) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue