forked from treehouse/mastodon
Fix vanilla flavour too
parent
d973e11061
commit
13db302f6e
|
@ -173,7 +173,9 @@ export function submitCompose(routerHistory) {
|
||||||
|
|
||||||
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');
|
if (!response.data.local_only) {
|
||||||
|
insertIfOnline('public');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}).catch(function (error) {
|
}).catch(function (error) {
|
||||||
dispatch(submitComposeFail(error));
|
dispatch(submitComposeFail(error));
|
||||||
|
|
Loading…
Reference in New Issue