[PlatformIndicators] Fix Chat Badges in DMs (#367)
This commit is contained in:
parent
eecc555dac
commit
1713450540
1 changed files with 1 additions and 3 deletions
|
@ -146,9 +146,7 @@ const indicatorLocations = {
|
|||
description: "Inside messages",
|
||||
onEnable: () => addDecoration("platform-indicator", props =>
|
||||
<ErrorBoundary noop>
|
||||
<PlatformIndicator user={
|
||||
props.decorations[1]?.find(i => i.key === "new-member")?.props.message?.author
|
||||
} inline />
|
||||
<PlatformIndicator user={props.message?.author} inline />
|
||||
</ErrorBoundary>
|
||||
),
|
||||
onDisable: () => removeDecoration("platform-indicator")
|
||||
|
|
Loading…
Reference in a new issue