diff options
Diffstat (limited to 'src/state/queries/notifications/util.ts')
-rw-r--r-- | src/state/queries/notifications/util.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state/queries/notifications/util.ts b/src/state/queries/notifications/util.ts index 1c85d2b6d..626d3e911 100644 --- a/src/state/queries/notifications/util.ts +++ b/src/state/queries/notifications/util.ts @@ -12,7 +12,7 @@ import {moderatePost_wrapped as moderatePost} from '#/lib/moderatePost_wrapped' import chunk from 'lodash.chunk' import {QueryClient} from '@tanstack/react-query' import {getAgent} from '../../session' -import {precacheProfile as precacheResolvedUri} from '../resolve-uri' +import {precacheProfile} from '../profile' import {NotificationType, FeedNotification, FeedPage} from './types' const GROUPABLE_REASONS = ['like', 'repost', 'follow'] @@ -59,7 +59,7 @@ export async function fetchPage({ if (notif.subjectUri) { notif.subject = subjects.get(notif.subjectUri) if (notif.subject) { - precacheResolvedUri(queryClient, notif.subject.author) // precache the handle->did resolution + precacheProfile(queryClient, notif.subject.author) } } } |