diff options
| author | Marie <marie@kaifa.ch> | 2024-01-26 00:56:09 +0100 |
|---|---|---|
| committer | Marie <marie@kaifa.ch> | 2024-01-26 00:56:09 +0100 |
| commit | 4be70a8d9860eda068bb8b07e97ccf64516a4705 (patch) | |
| tree | 4366f6d6174dc23321e0c666104e39e4967b18e9 /packages/frontend/src/components/MkNoteDetailed.vue | |
| parent | fix: boosts not being muted when muting thread (diff) | |
| download | sharkey-4be70a8d9860eda068bb8b07e97ccf64516a4705.tar.gz sharkey-4be70a8d9860eda068bb8b07e97ccf64516a4705.tar.bz2 sharkey-4be70a8d9860eda068bb8b07e97ccf64516a4705.zip | |
fix: boost being available on DMs on detailed view
Closes #346
Diffstat (limited to 'packages/frontend/src/components/MkNoteDetailed.vue')
| -rw-r--r-- | packages/frontend/src/components/MkNoteDetailed.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/components/MkNoteDetailed.vue b/packages/frontend/src/components/MkNoteDetailed.vue index fa27fa8c92..acde6ef06d 100644 --- a/packages/frontend/src/components/MkNoteDetailed.vue +++ b/packages/frontend/src/components/MkNoteDetailed.vue @@ -320,7 +320,7 @@ const showTicker = (defaultStore.state.instanceTicker === 'always') || (defaultS const conversation = ref<Misskey.entities.Note[]>([]); const replies = ref<Misskey.entities.Note[]>([]); const quotes = ref<Misskey.entities.Note[]>([]); -const canRenote = computed(() => ['public', 'home'].includes(appearNote.value.visibility) || appearNote.value.userId === $i.id); +const canRenote = computed(() => ['public', 'home'].includes(appearNote.value.visibility) || (appearNote.value.visibility === 'followers' && appearNote.value.userId === $i.id)); const defaultLike = computed(() => defaultStore.state.like ? defaultStore.state.like : null); watch(() => props.expandAllCws, (expandAllCws) => { |