summary refs log tree commit diff
path: root/src/activitypub/util/transforms
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-09-22 15:39:15 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-09-22 15:46:35 +1000
commit3c4691499249e184f4e418ae798379f98d5f4cff (patch)
tree952a1f634bd860aec68064151580aed0cbbfb78f /src/activitypub/util/transforms
parenta ton of broken shit and approx 1 nice function (diff)
parentMerge branch 'master' of github.com:spacebarchat/server (diff)
downloadserver-feat/federation.tar.xz
Merge branch 'master' into feat/federation feat/federation
Diffstat (limited to 'src/activitypub/util/transforms')
-rw-r--r--src/activitypub/util/transforms/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/activitypub/util/transforms/index.ts b/src/activitypub/util/transforms/index.ts

index e8107ca0..7333233e 100644 --- a/src/activitypub/util/transforms/index.ts +++ b/src/activitypub/util/transforms/index.ts
@@ -126,7 +126,7 @@ export const messageFromAP = async (data: APNote): Promise<Message> => { const member = channel instanceof Channel ? await Member.findOneOrFail({ - where: { id: user.id, guild_id: channel.guild.id }, + where: { id: user.id, guild_id: channel.guild!.id }, }) : undefined;