(user: QueryUser)
| 163 | }); |
| 164 | |
| 165 | export 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 |