summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLouis <6653109+artonge@users.noreply.github.com>2023-04-05 11:43:30 +0200
committerGitHub <noreply@github.com>2023-04-05 11:43:30 +0200
commit88072f43836cba51fa6518eecb04fe1b90706b26 (patch)
tree8de353c6a9450b2b11a10802aad45ad1286a4a26 /src
parente4e04213d6a57b44323c126a49995f906c2d8c95 (diff)
parent9adf37385c4ae2dfaab09999e0a204715cb080c2 (diff)
Merge pull request #1714 from nextcloud/artonge/fix/limit_reblog_action
Limit reblog action to status with 'public' and 'followers' visibility
Diffstat (limited to 'src')
-rw-r--r--src/components/TimelinePost.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/TimelinePost.vue b/src/components/TimelinePost.vue
index 1a474733..fa849436 100644
--- a/src/components/TimelinePost.vue
+++ b/src/components/TimelinePost.vue
@@ -44,7 +44,8 @@
</span>
</template>
</NcButton>
- <NcButton :title="t('social', 'Boost')"
+ <NcButton v-if="item.visibility === 'public' || item.visibility === 'followers'"
+ :title="t('social', 'Boost')"
type="tertiary-no-background"
@click="boost">
<template #icon>