mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-20 13:54:31 +01:00
Fix mentions
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user