Browse Source

Rollback

master
Eduard Kuzmenko 4 years ago
parent
commit
c12e02b804
  1. 2
      src/lib/mtproto/referenceDatabase.ts

2
src/lib/mtproto/referenceDatabase.ts

@ -61,9 +61,9 @@ class ReferenceDatabase { @@ -61,9 +61,9 @@ class ReferenceDatabase {
if(!contexts) {
contexts = new Set();
this.contexts.set(reference, contexts);
this.links[bytesToHex(reference)] = reference;
}
this.links[bytesToHex(reference)] = reference;
for(const _context of contexts) {
if(deepEqual(_context, context)) {
return;

Loading…
Cancel
Save