diff --git a/src/plusplugins/ToastNotifications/components/NotificationComponent.tsx b/src/plusplugins/ToastNotifications/components/NotificationComponent.tsx
index ee4b080e..fb8ab93e 100644
--- a/src/plusplugins/ToastNotifications/components/NotificationComponent.tsx
+++ b/src/plusplugins/ToastNotifications/components/NotificationComponent.tsx
@@ -113,7 +113,14 @@ export default ErrorBoundary.wrap(function NotificationComponent({
- {renderBody ? richBody ??
{body}
: null}
+ {renderBody ? (
+ richBody ?? (
+
+ {body.length > 500 ? body.slice(0, 500) + "..." : body}
+
+ )
+ ) : null}
+
{PluginSettings.store.renderImages && image &&

}
{footer &&
{`${attachments} attachment${attachments > 1 ? "s" : ""} ${attachments > 1 ? "were" : "was"} sent.`}
}
diff --git a/src/plusplugins/whosWatching/index.tsx b/src/plusplugins/whosWatching/index.tsx
index bee56590..a4ddabd7 100644
--- a/src/plusplugins/whosWatching/index.tsx
+++ b/src/plusplugins/whosWatching/index.tsx
@@ -82,10 +82,9 @@ export default definePlugin({
}
},
{
- predicate: () => settings.store.showPanel,
find: "this.renderEmbeddedActivity()",
replacement: {
- match: /(?<=children.{0,50})"div"(?=.{0,500}this\.renderEmbeddedActivity\(\))/,
+ match: /(?<=render\(\).{0,500}children.{0,50})"div"(?=.{0,500}this\.renderEmbeddedActivity\(\))/,
replace: "$self.WrapperComponent"
}
}
@@ -118,7 +117,7 @@ export default definePlugin({
return (
<>
{props.children}
-
+
{getIntlMessage("SPECTATORS", { numViewers: userIds.length })}