summary refs log tree commit diff
path: root/api/src/util/handlers/Message.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-05-31 00:22:18 +1000
committerGitHub <noreply@github.com>2022-05-31 00:22:18 +1000
commit82216f1513a32e9eaa8622f759656e4c5fe52573 (patch)
treece527a07dfdceee20bd31010b0102b693d61b60b /api/src/util/handlers/Message.ts
parentAdded README, added more UDP decryption stuff (diff)
parentMerge pull request #759 from MaddyUnderStars/fix/respectRegisterConfig (diff)
downloadserver-82216f1513a32e9eaa8622f759656e4c5fe52573.tar.xz
Merge branch 'fosscord:master' into maddyrtc
Diffstat (limited to 'api/src/util/handlers/Message.ts')
-rw-r--r--api/src/util/handlers/Message.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/src/util/handlers/Message.ts b/api/src/util/handlers/Message.ts

index 5a5ac666..e9f0ac55 100644 --- a/api/src/util/handlers/Message.ts +++ b/api/src/util/handlers/Message.ts
@@ -91,7 +91,8 @@ export async function handleMessage(opts: MessageOptions): Promise<Message> { if (opts.message_reference.channel_id !== opts.channel_id) throw new HTTPError("You can only reference messages from this channel"); } } - // Q: should be checked if the referenced message exists? ANSWER: NO + /** Q: should be checked if the referenced message exists? ANSWER: NO + otherwise backfilling won't work **/ // @ts-ignore message.type = MessageType.REPLY; }