Merge branch 'fix-mentions' into 'main'

Fix mentions

See merge request soapbox-pub/ditto!248
This commit is contained in:
Alex Gleason 2024-05-13 23:53:10 +00:00
commit b7821f6585
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ async function renderStatus(event: DittoEvent, opts: RenderStatusOpts): Promise<
];
const mentionedProfiles = await Storages.optimizer.query(
[{ authors: mentionedPubkeys, limit: mentionedPubkeys.length }],
[{ kinds: [0], authors: mentionedPubkeys, limit: mentionedPubkeys.length }],
);
const { html, links, firstUrl } = parseNoteContent(event.content);