Set moreHistoryAvailable when history reloads from storage

This commit is contained in:
Pavel Djundik 2019-02-13 12:23:17 +02:00
parent c8568b5429
commit 013129da1f

View File

@ -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")) {