fix: macos

This commit is contained in:
pk5ls20 2024-11-13 15:35:07 +08:00
parent 783a534768
commit 49ec6181b0
No known key found for this signature in database
GPG Key ID: 6370ED7A169F493A
3 changed files with 0 additions and 1 deletions

View File

@ -118,7 +118,6 @@ export class PacketOperationContext {
return `https://${res.download.downloadDns}/ftn_handler/${Buffer.from(res.download.downloadUrl).toString('hex')}/?fname=`; return `https://${res.download.downloadDns}/ftn_handler/${Buffer.from(res.download.downloadUrl).toString('hex')}/?fname=`;
} }
// TODO: why type hint is not working here?
async GetGroupPttUrl(groupUin: number, node: NapProtoEncodeStructType<typeof IndexNode>) { async GetGroupPttUrl(groupUin: number, node: NapProtoEncodeStructType<typeof IndexNode>) {
const req = trans.DownloadGroupPtt.build(groupUin, node); const req = trans.DownloadGroupPtt.build(groupUin, node);
const resp = await this.context.client.sendOidbPacket(req, true); const resp = await this.context.client.sendOidbPacket(req, true);

Binary file not shown.