diff options
-rw-r--r-- | CHANGELOG.md | 5 | ||||
-rw-r--r-- | app/controllers/chat_messages_controller.rb | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3dd360e..7449037 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog All notable changes to this project will be documented in this file. +## [0.1.13.1] - 2021-07-07 + +### Chat +- Chat history reduced from 2,000 messages to 1,000 messages. + ## [0.1.13] - 2021-07-07 ### General diff --git a/app/controllers/chat_messages_controller.rb b/app/controllers/chat_messages_controller.rb index 444def1..adb73ce 100644 --- a/app/controllers/chat_messages_controller.rb +++ b/app/controllers/chat_messages_controller.rb @@ -1,6 +1,6 @@ class ChatMessagesController < ApplicationController def index - @chat_messages = ChatMessage.order(created_at: :asc).limit(2000).reverse + @chat_messages = ChatMessage.order(created_at: :asc).limit(1_000).reverse end def list |