diff options
| author | Shpuld Shpludson <shp@cock.li> | 2019-08-21 04:56:38 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2019-08-21 04:56:38 +0000 |
| commit | d7647be81230dd9e016235cc9363d4cf048183c6 (patch) | |
| tree | 1584051669363ded5dc3c7d0c8980d2a070f91b0 /src/components/extra_buttons/extra_buttons.js | |
| parent | 6504d8ca0ffaad9509fbbf3fc610d4a15538aead (diff) | |
| parent | 65579796ed430bdf2ac4ecc7403120f316e69b23 (diff) | |
Merge branch '645' into 'develop'
Show "Mute Conversation" menu item and three dot button to users and only if needed
Closes #645
See merge request pleroma/pleroma-fe!922
Diffstat (limited to 'src/components/extra_buttons/extra_buttons.js')
| -rw-r--r-- | src/components/extra_buttons/extra_buttons.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/extra_buttons/extra_buttons.js b/src/components/extra_buttons/extra_buttons.js index 2d05ad39..5ac73e97 100644 --- a/src/components/extra_buttons/extra_buttons.js +++ b/src/components/extra_buttons/extra_buttons.js @@ -40,6 +40,9 @@ const ExtraButtons = { }, canPin () { return this.ownStatus && (this.status.visibility === 'public' || this.status.visibility === 'unlisted') + }, + canMute () { + return !!this.currentUser } } } |
