tdweb: bugfix

GitOrigin-RevId: ed7c94b8fea115b62776c3d3f44fe7f323961a66
This commit is contained in:
Arseny Smirnov 2019-03-21 22:58:52 +13:00
parent ffd9f89326
commit 75f323e2f6
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@arseny30/tdweb",
"version": "0.2.35",
"version": "0.2.36",
"description": "Javascript interface for TDLib (telegram library)",
"main": "dist/tdweb.js",
"files": [

View File

@ -651,7 +651,7 @@ class TdClient {
try {
var arr = this.FS.readFile(file.local.path);
if (arr) {
file = Object.create(file);
file = Object.assign({}, file);
file.arr = arr;
this.doSaveFile(pid, file, arr);
}