tdweb: use unique_id instead of remote.id if possible.
GitOrigin-RevId: fee4ecb25cdc48aa950dfd4d699fe0e0cbea94b9
This commit is contained in:
parent
06eb99d4d0
commit
40b9ff17ec
@ -981,7 +981,7 @@ class TdClient {
|
||||
}
|
||||
|
||||
prepareFile(file) {
|
||||
const pid = file.remote.id;
|
||||
const pid = file.remote.unique_id ? file.remote.unique_id : file.remote.id;
|
||||
if (!pid) {
|
||||
return file;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user