Skip to content

Commit

Permalink
Remove "post published" popup
Browse files Browse the repository at this point in the history
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 friendcamp@9438189
  • Loading branch information
mistydemeo committed Sep 23, 2024
1 parent 441dca1 commit 1a2d1b2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions app/javascript/mastodon/actions/compose.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
});
Expand Down

0 comments on commit 1a2d1b2

Please sign in to comment.