From c1edb7bc2712dc87e190d6a91aaea7f15a971ee4 Mon Sep 17 00:00:00 2001 From: trgwii Date: Thu, 11 Jun 2020 13:26:17 +0200 Subject: [PATCH] Fix format string for joinchat struct --- handlers/middlewares/checkLinks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/middlewares/checkLinks.ts b/handlers/middlewares/checkLinks.ts index 4149b6b..641693e 100644 --- a/handlers/middlewares/checkLinks.ts +++ b/handlers/middlewares/checkLinks.ts @@ -91,7 +91,7 @@ const isPublic = async (username: string) => { const inviteLinkToGroupID = (url: URL) => { if (url.pathname.toLowerCase().startsWith("/joinchat/")) { const [, groupID] = jspack.Unpack( - ">LLC", + ">LLQ", Buffer.from(url.pathname.split("/")[2], "base64") ); return groupID;