From cc48f595fdecfdb2825f4023fb157ff5f0e8ded6 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Thu, 26 Oct 2023 05:39:22 +0000 Subject: bug fixes and improvements (i wrote this code a week ago and forgot what it does) --- src/activitypub/federation/utils.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/activitypub/federation/utils.ts') 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; -- cgit 1.5.1