File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ const { status, context } = defineProps<{
7
7
}>()
8
8
9
9
const isDM = $computed (() => status .visibility === ' direct' )
10
- const isSelf = $computed (() => status .account .id === currentUser .value ?.account .id )
11
10
const isDetails = $computed (() => context === ' details' )
12
11
13
12
// Content Filter logic
@@ -25,8 +24,7 @@ const isFiltered = $computed(() => filterPhrase && (context && context !== 'deta
25
24
space-y-3
26
25
:class =" {
27
26
'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,
30
28
}"
31
29
>
32
30
<StatusSpoiler :enabled =" status.sensitive || isFiltered" :filter =" isFiltered" >
You can’t perform that action at this time.
0 commit comments