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