From 4b2d55d7a7759de8b7e558d791329a07599ed125 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=91=E8=B4=A8?= Date: Wed, 15 May 2024 12:55:35 +0800 Subject: [PATCH] =?UTF-8?q?OPQ=EF=BC=9A=E4=BF=AE=E5=A4=8D=E7=BE=A4?= =?UTF-8?q?=E9=82=80=E8=AF=B7=E7=9B=B8=E5=85=B3=E6=8E=A5=E5=8F=A3=E9=80=82?= =?UTF-8?q?=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OlivOS/adapter/OPQBot/OPQBotSDK.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OlivOS/adapter/OPQBot/OPQBotSDK.py b/OlivOS/adapter/OPQBot/OPQBotSDK.py index 11df06f4..24bbbe95 100644 --- a/OlivOS/adapter/OPQBot/OPQBotSDK.py +++ b/OlivOS/adapter/OPQBot/OPQBotSDK.py @@ -707,7 +707,7 @@ def set_group_add_request(target_event, flag:str, sub_type:str, approve:bool, co OpCode_int = None GroupCode_this = None if sub_type == 'invite': - sub_type_int = 1 + sub_type_int = 2 GroupCode_this = gMsgSeqToGroupCodeReg.get(str(flag), None) if approve is True: OpCode_int = 1