diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-04-14 12:27:14 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2018-04-14 12:27:14 +0200 |
commit | dfe8abb8cdb64e88cd7204ad52813e38fb4030a8 (patch) | |
tree | 3ef817498ef7a539c34c0941e5357b055dca39e2 /app/javascript/flavours/glitch/util | |
parent | 95a892accdb6a081447117f49c66431dc7e032fb (diff) |
[Glitch] Handle preference to always display sensitive media
Port the UI part of 76f3d5d16be2fb97d2252909589510165ec05e12 to glitch-soc
Diffstat (limited to 'app/javascript/flavours/glitch/util')
-rw-r--r-- | app/javascript/flavours/glitch/util/initial_state.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/util/initial_state.js b/app/javascript/flavours/glitch/util/initial_state.js index ab502f9d4..2c4ab9091 100644 --- a/app/javascript/flavours/glitch/util/initial_state.js +++ b/app/javascript/flavours/glitch/util/initial_state.js @@ -13,6 +13,7 @@ const getMeta = (prop) => initialState && initialState.meta && initialState.meta export const reduceMotion = getMeta('reduce_motion'); export const autoPlayGif = getMeta('auto_play_gif'); +export const displaySensitiveMedia = getMeta('display_sensitive_media'); export const unfollowModal = getMeta('unfollow_modal'); export const boostModal = getMeta('boost_modal'); export const favouriteModal = getMeta('favourite_modal'); |