fedimbed: mastodon moment
This commit is contained in:
parent
ad98a5558d
commit
70f8d71593
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue