summaryrefslogtreecommitdiffstats
path: root/webapp/utils/constants.jsx
diff options
context:
space:
mode:
authorDavid Lu <david.lu@hotmail.com>2016-06-06 10:01:35 -0700
committerHarrison Healey <harrisonmhealey@gmail.com>2016-06-06 13:01:35 -0400
commit2c42294bbcab3cd5cfdce9604e5872fe4a12e538 (patch)
tree60b20100acbd0efd6ed6293d88b222ef3f904088 /webapp/utils/constants.jsx
parent96e8fc165fab315b48f55e9ca54e689b34119967 (diff)
downloadchat-2c42294bbcab3cd5cfdce9604e5872fe4a12e538.tar.gz
chat-2c42294bbcab3cd5cfdce9604e5872fe4a12e538.tar.bz2
chat-2c42294bbcab3cd5cfdce9604e5872fe4a12e538.zip
PLT-3101 Added message history (#3205)
* Added message history * Minor logical changes * Fixed indexes resetting * Fixed double messages * Fixed resetting main history when RHS opened
Diffstat (limited to 'webapp/utils/constants.jsx')
-rw-r--r--webapp/utils/constants.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx
index 4e293c50e..216131eae 100644
--- a/webapp/utils/constants.jsx
+++ b/webapp/utils/constants.jsx
@@ -752,6 +752,7 @@ export default {
MHPNS: 'https://push.mattermost.com',
MTPNS: 'http://push-test.mattermost.com',
BOT_NAME: 'BOT',
+ MAX_PREV_MSGS: 100,
POST_COLLAPSE_TIMEOUT: 1000 * 60 * 5, // five minutes
LICENSE_EXPIRY_NOTIFICATION: 1000 * 60 * 60 * 24 * 15, // 15 days
LICENSE_GRACE_PERIOD: 1000 * 60 * 60 * 24 * 15 // 15 days