"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
This commit is contained in:
Eugen Rochko 2017-09-08 12:00:30 +02:00 committed by GitHub
parent a4caa7eb62
commit 95f018a3d4

View File

@ -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);
}