diff --git a/src/equicordplugins/toastNotifications/components/NotificationComponent.tsx b/src/equicordplugins/toastNotifications/components/NotificationComponent.tsx index 207d99bb..da91fc97 100644 --- a/src/equicordplugins/toastNotifications/components/NotificationComponent.tsx +++ b/src/equicordplugins/toastNotifications/components/NotificationComponent.tsx @@ -123,14 +123,12 @@ export default ErrorBoundary.wrap(function NotificationComponent({
- {body.length > 500 ? body.slice(0, 500) + "..." : body} -
- ) - ) : null} - + {renderBody && ( ++ {(richBody ?? body).toString().slice(0, 500)} + {(richBody ?? body).toString().length > 500 && "..."} +
+ )} {PluginSettings.store.renderImages && image &&{`${attachments} attachment${attachments > 1 ? "s" : ""} ${attachments > 1 ? "were" : "was"} sent.`}
}