Skip to content

Commit

Permalink
OPQ:修复群邀请相关接口适配
Browse files Browse the repository at this point in the history
  • Loading branch information
lunzhiPenxil committed May 15, 2024
1 parent afe0b51 commit 4b2d55d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OlivOS/adapter/OPQBot/OPQBotSDK.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4b2d55d

Please sign in to comment.