Set moreHistoryAvailable when history reloads from storage
This commit is contained in:
parent
c8568b5429
commit
013129da1f
@ -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")) {
|
||||
|
Loading…
Reference in New Issue
Block a user