Browse Source

Fixed drop too many

master
Igor Zhukov 9 years ago
parent
commit
d5b25dc56a
  1. 2
      app/js/controllers.js

2
app/js/controllers.js

@ -1918,7 +1918,7 @@ angular.module('myApp.controllers', ['myApp.i18n'])
} }
if ((!curPeer || isIDLE) && if ((!curPeer || isIDLE) &&
exlen > (len > 10 ? 10 : 10)) { exlen > (len > 10 ? 10 : 100)) {
console.warn(dT(), 'Drop too many messages', len, exlen, isIDLE, curPeer, peerID); console.warn(dT(), 'Drop too many messages', len, exlen, isIDLE, curPeer, peerID);
if (curPeer) { if (curPeer) {
minID = history.messages[exlen - 1].mid; minID = history.messages[exlen - 1].mid;

Loading…
Cancel
Save