diff --git a/client/js/lounge.js b/client/js/lounge.js index d3a7caf4..e5627ad2 100644 --- a/client/js/lounge.js +++ b/client/js/lounge.js @@ -131,6 +131,7 @@ window.vueMounted = () => { if (lastChannel.messages.length > 0) { lastChannel.firstUnread = lastChannel.messages[lastChannel.messages.length - 1].id; + lastChannel.messages.splice(0, lastChannel.messages.length - 100); } }