summaryrefslogtreecommitdiffstats
path: root/webapp/utils/constants.jsx
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2017-04-04 19:21:31 -0400
committerJoram Wilander <jwawilander@gmail.com>2017-04-04 19:21:31 -0400
commitf7a4c75a214fb239989618e9583d78f98256e66c (patch)
tree3d645fc2a62c96985c069a32e93e3ab9dd964616 /webapp/utils/constants.jsx
parenta0c91ef4afceffb100c75bd67585021a13abc24e (diff)
downloadchat-f7a4c75a214fb239989618e9583d78f98256e66c.tar.gz
chat-f7a4c75a214fb239989618e9583d78f98256e66c.tar.bz2
chat-f7a4c75a214fb239989618e9583d78f98256e66c.zip
PLT-5702 Added special error page for private browsing error message (#5985)
Diffstat (limited to 'webapp/utils/constants.jsx')
-rw-r--r--webapp/utils/constants.jsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx
index 8428f7121..3678b0b07 100644
--- a/webapp/utils/constants.jsx
+++ b/webapp/utils/constants.jsx
@@ -281,6 +281,10 @@ export const StatTypes = keyMirror({
MONTHLY_ACTIVE_USERS: null
});
+export const ErrorPageTypes = {
+ LOCAL_STORAGE: 'local_storage'
+};
+
export const Constants = {
Preferences,
SocketEvents,
@@ -290,6 +294,8 @@ export const Constants = {
UserSearchOptions,
TutorialSteps,
PostTypes,
+ ErrorPageTypes,
+
IGNORE_POST_TYPES: [PostTypes.JOIN_LEAVE, PostTypes.JOIN_CHANNEL, PostTypes.LEAVE_CHANNEL, PostTypes.REMOVE_FROM_CHANNEL, PostTypes.ADD_TO_CHANNEL, PostTypes.ADD_REMOVE],
PayloadSources: keyMirror({