MCPcopy Create free account
hub / github.com/dailydotdev/apps / dmUnreadCountQueryKey

Function dmUnreadCountQueryKey

packages/shared/src/features/messages/queries.ts:165–166  ·  view source on GitHub ↗
(user: QueryUser)

Source from the content-addressed store, hash-verified

163 });
164
165export const dmUnreadCountQueryKey = (user: QueryUser) =>
166 generateQueryKey(RequestKey.DirectMessages, user, 'unread_count');
167
168// Peers the count took on before the cached inbox had them, so a burst counts
169// once and reading them gives it back. Nothing observes it, so it opts out of

Callers 6

unreadCountFunction · 0.90
queries.spec.tsFile · 0.90
ShellStateRequestFunction · 0.90
shiftDmUnreadCountFunction · 0.85

Calls 1

generateQueryKeyFunction · 0.90

Tested by 1

unreadCountFunction · 0.72