From 30b7ff41e87c920ba3c0db27ff74efcdf9a59ad5 Mon Sep 17 00:00:00 2001
From: Roj <ez@roj.im>
Date: Fri, 28 Jun 2024 19:44:25 +0300
Subject: [PATCH] Update MTKruto

---
 MTKruto            |  2 +-
 allowed_methods.ts |  4 ++++
 client/deps.ts     | 10 +++++-----
 3 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/MTKruto b/MTKruto
index fff9cb3..98bb46e 160000
--- a/MTKruto
+++ b/MTKruto
@@ -1 +1 @@
-Subproject commit fff9cb3002e99a5ffa0719a4ab07c01de6984395
+Subproject commit 98bb46e64e2a19d389f8fe2b0ac0f441464ee9b3
diff --git a/allowed_methods.ts b/allowed_methods.ts
index fa1f296..3e892be 100644
--- a/allowed_methods.ts
+++ b/allowed_methods.ts
@@ -119,6 +119,10 @@ export const ALLOWED_METHODS = [
   "startVideoChat",
   "answerPreCheckoutQuery",
   "refundStarPayment",
+  "approveJoinRequest",
+  "approveJoinRequests",
+  "declineJoinRequest",
+  "declineJoinRequests",
 ] as const;
 
 export type AllowedMethod = (typeof ALLOWED_METHODS)[number];
diff --git a/client/deps.ts b/client/deps.ts
index 2c3516e..e733266 100644
--- a/client/deps.ts
+++ b/client/deps.ts
@@ -57,10 +57,10 @@ export type {
   VideoChat,
   VideoChatActive,
   VideoChatScheduled,
-} from "https://deno.land/x/mtkruto@0.2.20/mod.ts";
-export { cleanObject } from "https://deno.land/x/mtkruto@0.2.20/utilities/0_object.ts";
-export { iterateReadableStream } from "https://deno.land/x/mtkruto@0.2.20/utilities/1_misc.ts";
-export { Composer } from "https://deno.land/x/mtkruto@0.2.20/client/1_composer.ts";
-export { resolve } from "https://deno.land/x/mtkruto@0.2.20/client/0_utilities.ts";
+} from "https://deno.land/x/mtkruto@0.2.21/mod.ts";
+export { cleanObject } from "https://deno.land/x/mtkruto@0.2.21/utilities/0_object.ts";
+export { iterateReadableStream } from "https://deno.land/x/mtkruto@0.2.21/utilities/1_misc.ts";
+export { Composer } from "https://deno.land/x/mtkruto@0.2.21/client/1_composer.ts";
+export { resolve } from "https://deno.land/x/mtkruto@0.2.21/client/0_utilities.ts";
 export type { AllowedMethod } from "../allowed_methods.ts";
 export { transform } from "../transform.ts";