diff --git a/src/utils.rs b/src/utils.rs index f5046cb..68bee9e 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -804,11 +804,13 @@ pub async fn parse_post(post: &Value) -> Post { let permalink = val(post, "permalink"); + let post_id = val(post, "id"); + let poll = Poll::parse(&post["data"]["poll_data"]); let body = if val(post, "removed_by_category") == "moderator" { format!( - "
[removed] — view removed post
[removed] — view removed post