summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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