From: Simon Tatham Date: Fri, 29 Dec 2023 12:12:43 +0000 (+0000) Subject: URL in statuses is optional. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=dbdb5db403d8978cb5573a34e38c95f294cbbb04;p=mastodonochrome.git URL in statuses is optional. Reblogs don't have one: you can't view the reblogging status in the web UI, only the reblogged one. --- diff --git a/src/types.rs b/src/types.rs index 0b7f2df..12236b3 100644 --- a/src/types.rs +++ b/src/types.rs @@ -99,7 +99,7 @@ pub struct Status { pub reblogs_count: u64, pub favourites_count: u64, pub replies_count: u64, - pub url: String, + pub url: Option, pub in_reply_to_id: Option, pub in_reply_to_account_id: Option, pub reblog: Option>,