Render status account from pubkey

This commit is contained in:
Alex Gleason 2023-09-11 09:46:41 -05:00
parent 31114b6094
commit ef96fa539a
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 2 deletions

View File

@ -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);