(user: QueryUser)
| 169 | }); |
| 170 | |
| 171 | export const dmUnreadCountQueryKey = (user: QueryUser) => |
| 172 | generateQueryKey(RequestKey.DirectMessages, user, 'unread_count'); |
| 173 | |
| 174 | // Peers the count took on before the cached inbox had them, so a burst counts |
| 175 | // once and reading them gives it back. Nothing observes it, so it opts out of |