From 013129da1f724d5a7712a4740831f541b2afb44b Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Wed, 13 Feb 2019 12:23:17 +0200 Subject: [PATCH] Set moreHistoryAvailable when history reloads from storage --- src/models/chan.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/models/chan.js b/src/models/chan.js index 2a9f4bda..e6274874 100644 --- a/src/models/chan.js +++ b/src/models/chan.js @@ -261,6 +261,7 @@ Chan.prototype.loadMessages = function(client, network) { client.emit("more", { chan: this.id, messages: messages.slice(-100), + moreHistoryAvailable: messages.length > 100, }); if (network.irc.network.cap.isEnabled("znc.in/playback")) {