|
|
@ -173,8 +173,10 @@ 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');
|
|
|
|
|
|
|
|
if (!response.data.local_only) {
|
|
|
|
insertIfOnline('public');
|
|
|
|
insertIfOnline('public');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}).catch(function (error) {
|
|
|
|
}).catch(function (error) {
|
|
|
|
dispatch(submitComposeFail(error));
|
|
|
|
dispatch(submitComposeFail(error));
|
|
|
|
});
|
|
|
|
});
|
|
|
|