whoops #26

Merged
rainbownapkin merged 1 commit from rainbownapkin-main-patch-02483 into main 2022-01-09 19:54:51 -05:00

View file

@ -439,7 +439,7 @@ ChatModule.prototype.sendMessage = function (msgobj) {
this.dirty = true;
this.buffer.push(msgobj);//msg buffer push, trims it down to 15 messages
if (this.channel.uniqueName === "mods"){
if(this.buffer.length > 500){//make mods channel an exception :) Eventually this will be a setting per channel you can set from the web ui
if(this.buffer.length > 1000){//make mods channel an exception :) Eventually this will be a setting per channel you can set from the web ui
this.buffer.shift();
}
}else if (this.buffer.length > 15) {