mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-06 13:05:09 +00:00
chore: 有笨蛋
This commit is contained in:
@@ -111,6 +111,7 @@ export class NTQQPacketApi {
|
||||
await this.sendPacket('OidbSvcTrpcTcp.0x8fc_2', data!, true);
|
||||
}
|
||||
|
||||
// TODO: can simplify this
|
||||
async uploadResources(msg: PacketMsg[], groupUin: number = 0) {
|
||||
const reqList = [];
|
||||
for (const m of msg) {
|
||||
@@ -135,7 +136,7 @@ export class NTQQPacketApi {
|
||||
}
|
||||
}
|
||||
}
|
||||
return Promise.all(reqList);
|
||||
return Promise.all(reqList); // TODO: use promise.allSettled
|
||||
}
|
||||
|
||||
async sendUploadForwardMsg(msg: PacketMsg[], groupUin: number = 0) {
|
||||
|
||||
Reference in New Issue
Block a user