fedimbed: fix null display names
This commit is contained in:
parent
a216e5b4fb
commit
7bb92e6897
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ async function processUrl(msg, url) {
|
|||
postData2.text ??
|
||||
postData2.content;
|
||||
author = {
|
||||
name: postData2.account?.display_name ?? postData2.user?.name,
|
||||
name: postData2.account?.display_name postData2.account?.username ?? postData2.user?.name ?? postData2.user?.username,
|
||||
handle:
|
||||
postData2.account?.fqn ??
|
||||
`${postData2.account?.username ?? postData2.user?.username}@${
|
||||
|
|
Loading…
Reference in a new issue