From 1a2d1b2c48b430500c23ede9bf8774324cddfa9e Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Mon, 23 Sep 2024 16:30:59 -0700 Subject: [PATCH] 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 https://github.com/friendcamp/mastodon/commit/94381897390be107668a12476d53358fd2c123ec --- app/javascript/mastodon/actions/compose.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/javascript/mastodon/actions/compose.js b/app/javascript/mastodon/actions/compose.js index b5369babe..5160cd37a 100644 --- a/app/javascript/mastodon/actions/compose.js +++ b/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)); });