]> cat aescling's git repositories - mastodon.git/commit
[Glitch] When sending a toot, ensure a CW is only set if the CW field is visible
authorThibaut Girka <thib@sitedethib.com>
Sun, 30 Jun 2019 09:09:54 +0000 (11:09 +0200)
committerThibaut Girka <thib@sitedethib.com>
Sun, 30 Jun 2019 12:35:03 +0000 (14:35 +0200)
commitb6e9b7d1cdaf762964b0920cfb0485d30cff834c
tree6db10a52f9c6522517897f804c808a950308549d
parentcbb41e2dad829ff24db8b4a917a779627bf98cf2
[Glitch] When sending a toot, ensure a CW is only set if the CW field is visible

Partial port of ccc7fe3e1d04c7cabad916e4e57c7739743d5c91 to glitch-soc

It doesn't ensure the field isn't changed, just that it isn't submitted if
the field isn't visible. Ensuring the field isn't changed would require
reworking the “always show CW field” feature.
app/javascript/flavours/glitch/actions/compose.js