diff options
| author | taehoon <th.dev91@gmail.com> | 2019-08-20 16:55:42 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-08-20 16:55:42 -0400 |
| commit | 92a0c475f796989098bf84c813900c0fd89da7d0 (patch) | |
| tree | cc8dbeaa6a16ff25e8a641bbf5885562fcc6a5a9 /src/components/extra_buttons/extra_buttons.js | |
| parent | 6504d8ca0ffaad9509fbbf3fc610d4a15538aead (diff) | |
hide mute conversation button to guests
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 } } } |
