tdweb: bugfix
GitOrigin-RevId: ed7c94b8fea115b62776c3d3f44fe7f323961a66
This commit is contained in:
parent
ffd9f89326
commit
75f323e2f6
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@arseny30/tdweb",
|
"name": "@arseny30/tdweb",
|
||||||
"version": "0.2.35",
|
"version": "0.2.36",
|
||||||
"description": "Javascript interface for TDLib (telegram library)",
|
"description": "Javascript interface for TDLib (telegram library)",
|
||||||
"main": "dist/tdweb.js",
|
"main": "dist/tdweb.js",
|
||||||
"files": [
|
"files": [
|
||||||
|
@ -651,7 +651,7 @@ class TdClient {
|
|||||||
try {
|
try {
|
||||||
var arr = this.FS.readFile(file.local.path);
|
var arr = this.FS.readFile(file.local.path);
|
||||||
if (arr) {
|
if (arr) {
|
||||||
file = Object.create(file);
|
file = Object.assign({}, file);
|
||||||
file.arr = arr;
|
file.arr = arr;
|
||||||
this.doSaveFile(pid, file, arr);
|
this.doSaveFile(pid, file, arr);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user