mirror of
https://github.com/spacebarchat/server.git
synced 2026-03-31 20:15:48 +00:00
Clean up cloud attachment debug logs
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user