fedimbed: mastodon moment

This commit is contained in:
Cynthia Foxwell 2022-12-05 20:51:48 -07:00
parent ad98a5558d
commit 70f8d71593
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ async function processUrl(msg, url) {
}
// Author data is not sent with the post with AS2
const authorData = await fetch(postData.actor, {
const authorData = await fetch(postData.actor ?? postData.attributedTo, {
headers: {
"User-Agent": FRIENDLY_USERAGENT,
Accept: "application/activity+json",