]> cat aescling's git repositories - mastodon.git/commit
Read max_toot_chars from root object. Fixes #297.
authorDavid Yip <yipdw@member.fsf.org>
Sat, 6 Jan 2018 09:01:11 +0000 (03:01 -0600)
committerDavid Yip <yipdw@member.fsf.org>
Sat, 6 Jan 2018 09:01:11 +0000 (03:01 -0600)
commit2eed4ace1147d08d29bf9fdd9692afb2871e1fd9
tree5337c170ae3a6cb5045a59559dfddba116085d3a
parent6932b464e6952a9d29787a140a026dce724bfb59
Read max_toot_chars from root object.  Fixes #297.

max_toot_chars is present in the root of the initial state object.
(Previously, we were trying to read it from the meta child object.)
app/javascript/flavours/glitch/util/initial_state.js