about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-09-08 12:00:30 +0200
committerGitHub <noreply@github.com>2017-09-08 12:00:30 +0200
commit95f018a3d4f02ff4ce77d7b1cfa9a79fce3ce99a (patch)
tree0a498c2ac9e1d9857cd49e0c2b0de70e6556ae57
parenta4caa7eb6258ff7f8eea8e6791b86b1c7f4d172e (diff)
"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
-rw-r--r--app/javascript/mastodon/components/status_action_bar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/components/status_action_bar.js b/app/javascript/mastodon/components/status_action_bar.js
index 850f3f8c4..692b1ef2b 100644
--- 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);
     }