Fix public timelines not instantly updating on compose (#9050)

Fix #9034
lolsob-rspec
Eugen Rochko 2018-10-23 00:43:18 +02:00 committed by GitHub
parent 541fda5fc8
commit b49f2eef89
1 changed files with 3 additions and 1 deletions

View File

@ -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');
}