tdweb: bugfix

GitOrigin-RevId: b3678ca211de88e901ffc94f3863c9ded0b05494
This commit is contained in:
Arseny Smirnov 2019-06-19 15:05:10 +02:00
parent 666e668163
commit f4bea9a891
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "tdweb",
"version": "1.4.1",
"version": "1.4.3",
"description": "Javascript interface for TDLib (telegram library)",
"main": "dist/tdweb.js",
"repository": {

View File

@ -415,7 +415,7 @@ class ListNode {
onUsed(other) {
other.usedAt = Date.now();
other.clear();
other.erase();
other.connect(this.next);
log.debug('LRU: used file_id: ', other.value);
this.connect(other);