diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-10-23 00:43:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-23 00:43:18 +0200 |
commit | 39abec4d25db02e7d1e6a2d137d96d07dffac02c (patch) | |
tree | 6cbabf42c6c0cd295333b4f1b69565db67926c20 /app/javascript | |
parent | ad510db3a19640267f94062756d558a45472af14 (diff) |
Fix public timelines not instantly updating on compose (#9050)
Fix #9034
Diffstat (limited to 'app/javascript')
-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 f72671228..fac8d32a1 100644 --- a/app/javascript/mastodon/actions/compose.js +++ b/app/javascript/mastodon/actions/compose.js @@ -146,7 +146,9 @@ export function submitCompose(routerHistory) { routerHistory.push('/timelines/direct'); } else if (response.data.visibility !== 'direct') { insertIfOnline('home'); - } else if (response.data.in_reply_to_id === null && response.data.visibility === 'public') { + } + + if (response.data.in_reply_to_id === null && response.data.visibility === 'public') { insertIfOnline('community'); insertIfOnline('public'); } |