mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Fix mentions
This commit is contained in:
parent
2140b3fbb2
commit
cc9d2efef9
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ async function renderStatus(event: DittoEvent, opts: RenderStatusOpts): Promise<
|
||||||
];
|
];
|
||||||
|
|
||||||
const mentionedProfiles = await Storages.optimizer.query(
|
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);
|
const { html, links, firstUrl } = parseNoteContent(event.content);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue