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:
11 files changed
+136
-45
No files matched your search
@@ -139,10 +139,13 @@ export interface OidbDeleteFriend {
|
||||
field1?: pb<1, OidbDeleteFriendField1>;
|
||||
}
|
||||
export interface OidbGroupRequestBody {
|
||||
sequence?: pb<1, uint_64>;
|
||||
eventType?: pb<2, uint_32>;
|
||||
groupUin?: pb<3, uint_32>;
|
||||
message?: pb<4, string>;
|
||||
sequence?: pb<1, uint_64>;
|
||||
eventType?: pb<2, uint_32>;
|
||||
groupUin?: pb<3, uint_32>;
|
||||
// Encoder always writes this field. An omitted empty string is not the
|
||||
// same as a present empty/space value; callers must set it.
|
||||
message?: pb_optional<4, string>;
|
||||
operateTransInfo?: pb<7, bytes>;
|
||||
}
|
||||
export interface OidbGroupRequestAction {
|
||||
accept?: pb<1, uint_32>;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user