Bluesky app fork with some witchin' additions 💫

update `usePostThreadQuery` to check quote query data (#4975)

* update `usePostThreadQuery` to check quote query data

* search notifs before quotes

* oops

authored by hailey.at and committed by

GitHub df5bf28e 92989282

+5 -1
+1 -1
src/state/queries/list-members.ts
··· 75 75 listItems.push(...res.data.items) 76 76 hasMore = Boolean(res.data.cursor) 77 77 cursor = res.data.cursor 78 + i++ 78 79 } 79 - i++ 80 80 return listItems 81 81 } 82 82
+4
src/state/queries/post-thread.ts
··· 13 13 import {moderatePost_wrapped as moderatePost} from '#/lib/moderatePost_wrapped' 14 14 import {UsePreferencesQueryResponse} from '#/state/queries/preferences/types' 15 15 import {useAgent} from '#/state/session' 16 + import {findAllPostsInQueryData as findAllPostsInQuoteQueryData} from 'state/queries/post-quotes' 16 17 import { 17 18 findAllPostsInQueryData as findAllPostsInSearchQueryData, 18 19 findAllProfilesInQueryData as findAllProfilesInSearchQueryData, ··· 400 401 yield postViewToPlaceholderThread(post) 401 402 } 402 403 for (let post of findAllPostsInNotifsQueryData(queryClient, uri)) { 404 + yield postViewToPlaceholderThread(post) 405 + } 406 + for (let post of findAllPostsInQuoteQueryData(queryClient, uri)) { 403 407 yield postViewToPlaceholderThread(post) 404 408 } 405 409 for (let post of findAllPostsInSearchQueryData(queryClient, uri)) {