diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-01-08 19:05:33 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2020-07-06 21:13:04 +0200 |
commit | 13db302f6eca9e3a40eb92fe9dc358e4a5dda432 (patch) | |
tree | 66818a83098b00ae4dbe852edb2356839521715d | |
parent | d973e110616c132f1d8df676e7039a57b9134537 (diff) |
Fix vanilla flavour too
-rw-r--r-- | app/javascript/mastodon/actions/compose.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/javascript/mastodon/actions/compose.js b/app/javascript/mastodon/actions/compose.js index 6b73fc90e..1b5b791c1 100644 --- a/app/javascript/mastodon/actions/compose.js +++ b/app/javascript/mastodon/actions/compose.js @@ -173,7 +173,9 @@ export function submitCompose(routerHistory) { if (response.data.in_reply_to_id === null && response.data.visibility === 'public') { insertIfOnline('community'); - insertIfOnline('public'); + if (!response.data.local_only) { + insertIfOnline('public'); + } } }).catch(function (error) { dispatch(submitComposeFail(error)); |