From d3987680d8c49266b559a1aceb4c23a0535833aa Mon Sep 17 00:00:00 2001 From: alemi Date: Wed, 15 Jan 2025 02:43:38 +0100 Subject: [PATCH] feat(web): super crude way to see emoji reacts --- web/src/activities/item.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/src/activities/item.rs b/web/src/activities/item.rs index fc110d5..dca167f 100644 --- a/web/src/activities/item.rs +++ b/web/src/activities/item.rs @@ -15,6 +15,7 @@ pub fn ActivityLine(activity: crate::Object, children: Children) -> impl IntoVie }); let actor_id = activity.actor().id().unwrap_or_default(); let actor = cache::OBJECTS.get_or(&actor_id, serde_json::Value::String(actor_id.clone()).into()); + let content = activity.content().unwrap_or_default(); let kind = activity.activity_type().unwrap_or(apb::ActivityType::Activity); let href = match kind { apb::ActivityType::Follow => Uri::web(U::Actor, &object_id), @@ -28,6 +29,7 @@ pub fn ActivityLine(activity: crate::Object, children: Children) -> impl IntoVie + {content}" " {children()}