mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-22 14:15:22 +00:00
Fix public timelines not instantly updating on compose (#9050)
Fix #9034
This commit is contained in:
parent
ad510db3a1
commit
39abec4d25
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue