logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 95f018a3d4f02ff4ce77d7b1cfa9a79fce3ce99a
parent: a4caa7eb6258ff7f8eea8e6791b86b1c7f4d172e
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Fri,  8 Sep 2017 12:00:30 +0200

"Mute conversation" option on all own toots, not just in notifications (#4844)

That way you can mute notifications for a toot before you get replies
to it or boosts or favourites

Diffstat:

Mapp/javascript/mastodon/components/status_action_bar.js2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/javascript/mastodon/components/status_action_bar.js b/app/javascript/mastodon/components/status_action_bar.js @@ -134,7 +134,7 @@ export default class StatusActionBar extends ImmutablePureComponent { menu.push(null); - if (withDismiss) { + if (status.getIn(['account', 'id']) === me || withDismiss) { menu.push({ text: intl.formatMessage(mutingConversation ? messages.unmuteConversation : messages.muteConversation), action: this.handleConversationMuteClick }); menu.push(null); }