mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
Render status account from pubkey
This commit is contained in:
parent
31114b6094
commit
ef96fa539a
1 changed files with 1 additions and 2 deletions
|
|
@ -117,8 +117,7 @@ async function toMention(pubkey: string) {
|
|||
|
||||
async function toStatus(event: Event<1>, viewerPubkey?: string) {
|
||||
const profile = await getAuthor(event.pubkey);
|
||||
const account = profile ? await toAccount(profile) : undefined;
|
||||
if (!account) return;
|
||||
const account = profile ? await toAccount(profile) : await accountFromPubkey(event.pubkey);
|
||||
|
||||
const replyTag = findReplyTag(event);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue