1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-02 16:58:53 +09:00

Fix vanilla flavour too

This commit is contained in:
Thibaut Girka 2019-01-08 19:05:33 +01:00
parent d973e11061
commit 13db302f6e

View File

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