Skip to content

Commit 0501b98

Browse files
authored
fix: change all DMs to primary colour (#602)
1 parent 75047e8 commit 0501b98

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

components/status/StatusContent.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ const { status, context } = defineProps<{
77
}>()
88
99
const isDM = $computed(() => status.visibility === 'direct')
10-
const isSelf = $computed(() => status.account.id === currentUser.value?.account.id)
1110
const isDetails = $computed(() => context === 'details')
1211
1312
// Content Filter logic
@@ -25,8 +24,7 @@ const isFiltered = $computed(() => filterPhrase && (context && context !== 'deta
2524
space-y-3
2625
:class="{
2726
'pt2 pb0.5 px3.5 br2 border-1 rounded-3 rounded-tl-none': isDM,
28-
'bg-fade border-primary-light': isDM && !isSelf,
29-
'bg-code border-base': isDM && isSelf,
27+
'bg-fade border-primary-light': isDM,
3028
}"
3129
>
3230
<StatusSpoiler :enabled="status.sensitive || isFiltered" :filter="isFiltered">

0 commit comments

Comments
 (0)