bump
Some checks failed
Build and Release / build-and-release (push) Has been cancelled

This commit is contained in:
Bryan1029384756
2026-04-20 17:09:04 -05:00
parent 82f8a12e27
commit b83360db35
48 changed files with 6079 additions and 49 deletions

View File

@@ -217,6 +217,12 @@ export const getPublicKeys = query({
const users = await ctx.db.query("userProfiles").collect();
const results = [];
for (const u of users) {
// Ghost profiles are import-only — they have no real public
// identity key, can't log in, and shouldn't surface in
// mention autocomplete / DM pickers. Rendering of imported
// messages goes through `messages.enrichMessage` which hits
// `userProfiles` directly, so filtering here is safe.
if (u.isGhost) continue;
let avatarUrl: string | null = null;
if (u.avatarStorageId) {
avatarUrl = await getPublicStorageUrl(ctx, u.avatarStorageId);