refactor: 旧代码移除

This commit is contained in:
手瓜一十雪 committed 2024-11-21 11:01:35 +08:00
1 parent fa70eec3d8
commit de64b03054
12 files changed
+143 -139

No files matched your search

+1 -1
View File
@@ -320,7 +320,7 @@ export class NTQQFileApi {
}
async downloadMedia(msgId: string, chatType: ChatType, peerUid: string, elementId: string, thumbPath: string, sourcePath: string, timeout = 1000 * 60 * 2, force: boolean = false) {
// 用于下载收到的消息中的图片等
// 用于下载文件
if (sourcePath && fs.existsSync(sourcePath)) {
if (force) {
try {