summary refs log tree commit diff
path: root/src/activitypub
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-08-15 00:12:04 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-08-15 00:12:04 +1000
commitcb1dbd83e272bc1fa16435ebecec46bd7584efee (patch)
tree1cd4e144eee66405fcc7ae41e71cc225ddf6209e /src/activitypub
parentehhhh (diff)
downloadserver-ts-cb1dbd83e272bc1fa16435ebecec46bd7584efee.tar.xz
ahhhh
Diffstat (limited to 'src/activitypub')
-rw-r--r--src/activitypub/routes/channel/#channel_id/inbox.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/activitypub/routes/channel/#channel_id/inbox.ts b/src/activitypub/routes/channel/#channel_id/inbox.ts

index 073c1d0b..ee7f4519 100644 --- a/src/activitypub/routes/channel/#channel_id/inbox.ts +++ b/src/activitypub/routes/channel/#channel_id/inbox.ts
@@ -11,7 +11,7 @@ router.post("/", route({}), async (req, res) => { if (body.type != "Create") throw new HTTPError("not implemented"); - const message = await Message.fromAP(body); + const message = await Message.fromAP(body.object); await message.save(); await emitEvent({