summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-12-04 11:05:40 +0100
committerRory& <root@rory.gay>2025-12-04 11:05:40 +0100
commita149bd06d7eae9e887954ea98e5599591d82c847 (patch)
tree313158aa1101b107876b0d2b2a12f0594c93498c
parentvalidate that endpoitns are configured (diff)
downloadserver-ts-a149bd06d7eae9e887954ea98e5599591d82c847.tar.xz
Clean up cloud attachment debug logs
-rw-r--r--src/api/util/handlers/Message.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/api/util/handlers/Message.ts b/src/api/util/handlers/Message.ts

index 60fe4428..fb011112 100644 --- a/src/api/util/handlers/Message.ts +++ b/src/api/util/handlers/Message.ts
@@ -149,9 +149,8 @@ export async function handleMessage(opts: MessageOptions): Promise<Message> { for (const att of uploadedAttachments) { message.attachments![att.index] = att.attachment; } - } else console.log("[Message] No cloud attachments to process for message", message.id, ":", message.attachments); - - console.log("opts:", opts.attachments, "\nmessage:", message.attachments); + } + // else console.log("[Message] No cloud attachments to process for message", message.id, ":", message.attachments); if (message.content && message.content.length > Config.get().limits.message.maxCharacters) { throw new HTTPError("Content length over max character limit");