diff --git a/client/views/chat.tpl b/client/views/chat.tpl index 35ebce8c..b5b32d30 100644 --- a/client/views/chat.tpl +++ b/client/views/chat.tpl @@ -12,7 +12,7 @@ {{{parse topic}}}
-
+
diff --git a/src/models/chan.js b/src/models/chan.js index 63b45203..764933bf 100644 --- a/src/models/chan.js +++ b/src/models/chan.js @@ -139,7 +139,7 @@ Chan.prototype.removeUser = function(user) { Chan.prototype.toJSON = function() { var clone = _.clone(this); clone.users = []; // Do not send user list, the client will explicitly request it when needed - clone.messages = clone.messages.slice(-100); + clone.messages = clone.messages.slice(-1); return clone; };