From b543610ed362639a30078a363e948c3e4660dedd Mon Sep 17 00:00:00 2001 From: alemi Date: Mon, 22 Apr 2024 04:49:24 +0200 Subject: [PATCH] fix(web): object.object.id damn its late --- web/src/components/timeline.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/timeline.rs b/web/src/components/timeline.rs index 5ac4de76..bc20b371 100644 --- a/web/src/components/timeline.rs +++ b/web/src/components/timeline.rs @@ -69,7 +69,7 @@ pub fn TimelineRepliesRecursive(tl: Timeline, root: String) -> impl IntoView { 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(); + let oid = object.object().id().unwrap_or_default().to_string(); if let Some(note) = CACHE.get(&oid) { view! {