fix: replace deprecated calls

This commit is contained in:
Wesley F. Young committed 2024-08-12 08:20:11 +08:00
1 parent 257135763f
commit a88c37ea56
18 files changed
+54 -54

No files matched your search

+1 -1
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) {