From ac1e46e37578b015a4ef434c2a09279c137b12bb Mon Sep 17 00:00:00 2001 From: Derock Date: Wed, 28 Sep 2022 20:19:56 -0400 Subject: [PATCH] fix: use username not tag on mentions --- src/generator/renderers/content.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generator/renderers/content.tsx b/src/generator/renderers/content.tsx index aa358d8..5d5c178 100644 --- a/src/generator/renderers/content.tsx +++ b/src/generator/renderers/content.tsx @@ -120,7 +120,7 @@ export async function renderASTNode(node: SingleASTNode, context: RenderContentC const id = node.id as string; const user = await context.callbacks.resolveUser(id); - return {user ? user.tag : `Unknown User (${id})`}; + return {user ? user.username : `Unknown User (${id})`}; } case 'here':