summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vkjs.js
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2020-06-19 14:52:38 +0500
committerElzorFox <elzorfox@ya.ru>2020-06-19 14:52:38 +0500
commit68281344bad89af7d91010360258acb31e95e1b9 (patch)
tree0bda93cbe8f6f2664b658edd0630a412f93065fa /protocols/VKontakte/src/vkjs.js
parent6f30a7bd4808c85932900aa05b511371610be973 (diff)
VKontakte: stored procedure fix
Diffstat (limited to 'protocols/VKontakte/src/vkjs.js')
-rw-r--r--protocols/VKontakte/src/vkjs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vkjs.js b/protocols/VKontakte/src/vkjs.js
index 30372a5865..f87f45398d 100644
--- a/protocols/VKontakte/src/vkjs.js
+++ b/protocols/VKontakte/src/vkjs.js
@@ -119,7 +119,7 @@ var ext = Hist.items.length;
var index = 0;
while (ext != 0) {
if (Hist.items[index].date > Args.time) {
- if (Hist.items[index].conversation_message_id > Args.lastmid) {
+ if (Hist.items[index].id > Args.lastmid) {
index = index + 1;
ext = ext - 1;
} else