Browse Source

Remove "post published" popup

This seems to have been fairly unpopular with Hometown users, and
I know a few instances have removed it already. Might as well
bring the patch to remove it into Hometown itself.

refs 9438189739
pull/1357/head
Misty De Meo 1 year ago
parent
commit
1a2d1b2c48
No known key found for this signature in database
GPG Key ID: 76CF846A2F674B2C
  1. 7
      app/javascript/mastodon/actions/compose.js

7
app/javascript/mastodon/actions/compose.js

@ -245,13 +245,6 @@ export function submitCompose(routerHistory) {
insertIfOnline('public');
insertIfOnline(`account:${response.data.account.id}`);
}
dispatch(showAlert({
message: statusId === null ? messages.published : messages.saved,
action: messages.open,
dismissAfter: 10000,
onClick: () => routerHistory.push(`/@${response.data.account.username}/${response.data.id}`),
}));
}).catch(function (error) {
dispatch(submitComposeFail(error));
});

Loading…
Cancel
Save