refactor: 旧代码移除
This commit is contained in:
1 parent
fa70eec3d8
commit
de64b03054
12 files changed
+143
-139
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user