- {activity.message?.content && (
- {elements.map((el) => el)}
+ {"message" in activity && activity.message?.content && (
+ scroll(activity.message, activity.channel.id)}
+ >
+ {elements.map((el) => el)}
+
)}
- {activity.requestType === "income" && activity.request}
+ {activity.type === "request" &&
+ activity.requestType === "income" &&
+ activity.request}
{type === "mention" &&
activity.channel &&
@@ -199,8 +210,10 @@ export function ActivityMessage({
<>