summaryrefslogtreecommitdiffstats
path: root/web/react/utils/constants.jsx
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-07-29 11:30:54 -0400
committerJoramWilander <jwawilander@gmail.com>2015-07-29 11:30:54 -0400
commit7bc5f4e863b14febf26bb447b5267216d9d8ce42 (patch)
treeebd998420f08f2144616c411f5e7c4314bee1d6c /web/react/utils/constants.jsx
parent54265271fa16c624570ff89a26ae8596cf0fafc7 (diff)
downloadchat-7bc5f4e863b14febf26bb447b5267216d9d8ce42.tar.gz
chat-7bc5f4e863b14febf26bb447b5267216d9d8ce42.tar.bz2
chat-7bc5f4e863b14febf26bb447b5267216d9d8ce42.zip
reset number of posts to fetch on channel switch and fresh page load
Diffstat (limited to 'web/react/utils/constants.jsx')
-rw-r--r--web/react/utils/constants.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/react/utils/constants.jsx b/web/react/utils/constants.jsx
index 77ce19530..4fbcc0341 100644
--- a/web/react/utils/constants.jsx
+++ b/web/react/utils/constants.jsx
@@ -55,6 +55,7 @@ module.exports = {
DEFAULT_CHANNEL: 'town-square',
OFFTOPIC_CHANNEL: 'off-topic',
POST_CHUNK_SIZE: 60,
+ MAX_POST_CHUNKS: 3,
RESERVED_TEAM_NAMES: [
"www",
"web",