Fix vanilla flavour too

remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
Thibaut Girka 2019-01-08 19:05:33 +01:00
parent d973e11061
commit 13db302f6e
1 changed files with 3 additions and 1 deletions

View File

@ -173,7 +173,9 @@ export function submitCompose(routerHistory) {
if (response.data.in_reply_to_id === null && response.data.visibility === 'public') {
insertIfOnline('community');
insertIfOnline('public');
if (!response.data.local_only) {
insertIfOnline('public');
}
}
}).catch(function (error) {
dispatch(submitComposeFail(error));