fix: replace deprecated calls

This commit is contained in:
Wesley F. Young
2024-08-12 08:19:28 +08:00
parent 6e5ced5bb9
commit c7b1a2c02d
18 changed files with 54 additions and 54 deletions

View File

@@ -62,7 +62,7 @@ export class GetFileBase extends BaseAction<GetFilePayload, GetFileResponse> {
if (isGroup) {
peer = { chatType: ChatType.group, peerUid: peerUin };
}
const PeerUid = await NTQQUserApi.getUidByUin(peerUin);
const PeerUid = await NTQQUserApi.getUidByUinV2(peerUin);
if (PeerUid) {
const isBuddy = await NTQQFriendApi.isBuddy(PeerUid);
if (isBuddy) {