summary refs log tree commit diff
path: root/src/activitypub/federation/utils.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-10-26 05:39:22 +0000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-10-26 05:39:22 +0000
commitcc48f595fdecfdb2825f4023fb157ff5f0e8ded6 (patch)
tree974b4612b87bf5b3fc04933f2c731d83f1ee083c /src/activitypub/federation/utils.ts
parentbasic channel federation (diff)
downloadserver-feat/federation2.tar.xz
bug fixes and improvements (i wrote this code a week ago and forgot what it does) feat/federation2
Diffstat (limited to '')
-rw-r--r--src/activitypub/federation/utils.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/activitypub/federation/utils.ts b/src/activitypub/federation/utils.ts

index e879e863..4a56c67d 100644 --- a/src/activitypub/federation/utils.ts +++ b/src/activitypub/federation/utils.ts
@@ -191,8 +191,10 @@ export const fetchFederatedUser = async ( domain: mention.domain, publicKey: remoteActor.publicKey?.publicKeyPem, type, - inbox: remoteActor.inbox, - outbox: remoteActor.outbox, + inbox: remoteActor.inbox?.toString(), + outbox: remoteActor.outbox?.toString(), + following: remoteActor.following?.toString(), + followers: remoteActor.followers?.toString(), }); let entity: BaseClass | undefined = undefined;