diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/platformIndicators.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/platformIndicators.tsx b/src/plugins/platformIndicators.tsx index b7af8fb..f28f9cf 100644 --- a/src/plugins/platformIndicators.tsx +++ b/src/plugins/platformIndicators.tsx @@ -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") |