fix(onebot): approve pending group join requests that were rejected as gone

Closes #380.

An empty reject reason and a stale request type could make the server treat a still-pending join as already handled.
This commit is contained in:
DrSmoothl committed 2026-08-17 18:40:08 +08:00
1 parent 618dd52f46
commit aec0c781b3
11 files changed
+136 -45

No files matched your search

+8 -6
View File
@@ -208,9 +208,10 @@ export interface OidbSvcTrpcTcp0x10C0ResponseRequest {
group?: pb<4, OidbSvcTrpcTcp0x10C0ResponseGroup>;
target?: pb<5, OidbSvcTrpcTcp0x10C0ResponseUser>;
invitor?: pb<6, OidbSvcTrpcTcp0x10C0ResponseUser>;
operatorUser?: pb<7, OidbSvcTrpcTcp0x10C0ResponseUser>;
field9?: pb<9, string>;
comment?: pb<10, string>;
operatorUser?: pb<7, OidbSvcTrpcTcp0x10C0ResponseUser>;
field9?: pb<9, string>;
comment?: pb<10, string>;
operateTransInfo?: pb<14, bytes>;
}
export interface OidbSvcTrpcTcp0x10C0Response {
@@ -238,9 +239,10 @@ export interface OidbSvcTrpcTcp0x10C0ResponseRequestByUin {
group?: pb<4, OidbSvcTrpcTcp0x10C0ResponseGroup>;
target?: pb<5, OidbSvcTrpcTcp0x10C0ResponseUserByUin>;
invitor?: pb<6, OidbSvcTrpcTcp0x10C0ResponseUserByUin>;
operatorUser?: pb<7, OidbSvcTrpcTcp0x10C0ResponseUserByUin>;
field9?: pb<9, string>;
comment?: pb<10, string>;
operatorUser?: pb<7, OidbSvcTrpcTcp0x10C0ResponseUserByUin>;
field9?: pb<9, string>;
comment?: pb<10, string>;
operateTransInfo?: pb<14, bytes>;
}
export interface OidbSvcTrpcTcp0x10C0ResponseByUin {