summary refs log tree commit diff
path: root/src/api
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-09-28 23:44:00 +0200
committerRory& <root@rory.gay>2025-09-29 18:38:06 +0200
commit2f1b131b0f70bc923955261c57986e47d10627b2 (patch)
treebfe16e3c4203a598b12e3c16b161fdb41a3656ab /src/api
parentActually set the referenced_message relation on new messages (diff)
downloadserver-ts-2f1b131b0f70bc923955261c57986e47d10627b2.tar.xz
Add author and mentions relation to fetching messages
Diffstat (limited to 'src/api')
-rw-r--r--src/api/routes/channels/#channel_id/messages/index.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/routes/channels/#channel_id/messages/index.ts b/src/api/routes/channels/#channel_id/messages/index.ts

index 96c760b1..3f297632 100644 --- a/src/api/routes/channels/#channel_id/messages/index.ts +++ b/src/api/routes/channels/#channel_id/messages/index.ts
@@ -129,6 +129,8 @@ router.get( "sticker_items", "attachments", "referenced_message", + "referenced_message.author", + "referenced_message.mentions", ], };