diff --git a/web/src/components/timeline.rs b/web/src/components/timeline.rs index d8d0a76f..5ac4de76 100644 --- a/web/src/components/timeline.rs +++ b/web/src/components/timeline.rs @@ -68,6 +68,22 @@ pub fn TimelineRepliesRecursive(tl: Timeline, root: String) -> impl IntoView { key=|k| k.id().unwrap_or_default().to_string() children=move |object: serde_json::Value| { match object.object_type() { + Some(apb::ObjectType::Activity(apb::ActivityType::Create)) => { + let oid = object.id().unwrap_or_default().to_string(); + if let Some(note) = CACHE.get(&oid) { + view! { + + +
+ +
+ }.into_view() + } else { + view! { + + }.into_view() + } + }, Some(apb::ObjectType::Activity(_)) => view! { }.into_view(),