Skip to content
Snippets Groups Projects
Verified Commit 408c1b7e authored by Haelwenn's avatar Haelwenn
Browse files

[glitch-port] initial_state.js: consistent max_toot_chars

parent 696a9b55
No related branches found
No related tags found
No related merge requests found
......@@ -22,10 +22,13 @@ export const favouriteModal = getMeta('favourite_modal');
export const deleteModal = getMeta('delete_modal');
export const me = getMeta('me');
export const searchEnabled = getMeta('search_enabled');
export const maxChars = (initialState && initialState.max_toot_chars) || 500;
export const maxChars = getMeta('max_toot_chars') || 500;
//@TODO: Look if possible to reuse for AdminAPI
export const invitesEnabled = getMeta('invites_enabled');
//Should it be set to something?
export const version = getMeta('version');
export const mascot = getMeta('mascot');
//@TODO: Look if possible to reuse for AdminAPI
export const isStaff = getMeta('is_staff');
export const deleteOthersNotice = getRight('delete_others_notice');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment