From 3152637cdc93dfbc101a5ed8e0ed9bf607226863 Mon Sep 17 00:00:00 2001 From: Mikunj Date: Fri, 13 Sep 2019 13:26:23 +1000 Subject: [PATCH] Fix more check on deletion. --- js/modules/loki_public_chat_api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/modules/loki_public_chat_api.js b/js/modules/loki_public_chat_api.js index 741d98e65..4823b0c1d 100644 --- a/js/modules/loki_public_chat_api.js +++ b/js/modules/loki_public_chat_api.js @@ -499,7 +499,7 @@ class LokiPublicChannelAPI { // update where we last checked this.deleteLastId = res.response.meta.max_id; - more = res.response.more && res.response.data.length >= params.count; + more = res.response.meta.more && res.response.data.length >= params.count; } }