Skip to content

Commit

Permalink
Fix public timelines not instantly updating on compose (#9050)
Browse files Browse the repository at this point in the history
Fix #9034
  • Loading branch information
Gargron committed Oct 22, 2018
1 parent ad510db commit 39abec4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/javascript/mastodon/actions/compose.js
Expand Up @@ -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');
}
Expand Down

0 comments on commit 39abec4

Please sign in to comment.