From 8358755eeb8aea4bc4d151b778f818c5d6e9527f Mon Sep 17 00:00:00 2001 From: TomatoCake <60300461+DEVTomatoCake@users.noreply.github.com> Date: Sat, 6 Jul 2024 16:02:21 +0200 Subject: [PATCH] Increase minimum char count --- src/api/routes/channels/#channel_id/messages/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/routes/channels/#channel_id/messages/index.ts b/src/api/routes/channels/#channel_id/messages/index.ts index 4d7e388ff..645c6db23 100644 --- a/src/api/routes/channels/#channel_id/messages/index.ts +++ b/src/api/routes/channels/#channel_id/messages/index.ts @@ -187,7 +187,7 @@ router.get( let pathname = new URL(uri).pathname; while ( pathname.split("/")[0] != "attachments" && - pathname.length > 10 + pathname.length > 30 ) { pathname = pathname.split("/").slice(1).join("/"); }