forked from treehouse/mastodon
parent
ad510db3a1
commit
39abec4d25
|
@ -146,7 +146,9 @@ export function submitCompose(routerHistory) {
|
||||||
routerHistory.push('/timelines/direct');
|
routerHistory.push('/timelines/direct');
|
||||||
} else if (response.data.visibility !== 'direct') {
|
} else if (response.data.visibility !== 'direct') {
|
||||||
insertIfOnline('home');
|
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('community');
|
||||||
insertIfOnline('public');
|
insertIfOnline('public');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue