summaryrefslogtreecommitdiffstats
path: root/src/constants.js
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-11-07 16:56:08 +0100
committerJoas Schilling <coding@schilljs.com>2022-11-07 16:56:08 +0100
commit6850fcbdb3c8c1c031b25ad20ab5a5410aff7c34 (patch)
tree37ce133369c304d75838c548382c3ba551727712 /src/constants.js
parentfcc4a83c1e36f6f537a1052b890dded1fd3d771b (diff)
Introduce a constant and simplify the logic
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/constants.js')
-rw-r--r--src/constants.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/constants.js b/src/constants.js
index bacf04c7d..b33c5de45 100644
--- a/src/constants.js
+++ b/src/constants.js
@@ -24,6 +24,10 @@ export const SIGNALING = {
CLUSTER_CONVERSATION: 'conversation_cluster',
},
}
+export const CHAT = {
+ FETCH_LIMIT: 100,
+ MINIMUM_VISIBLE: 5,
+}
export const CONVERSATION = {
START_CALL: {
EVERYONE: 0,