chiark
/
gitweb
/
~ian
/
mastodonochrome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67a31db
)
URL in statuses is optional.
author
Simon Tatham
<anakin@pobox.com>
Fri, 29 Dec 2023 12:12:43 +0000
(12:12 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Fri, 29 Dec 2023 18:17:34 +0000
(18:17 +0000)
Reblogs don't have one: you can't view the reblogging status in the
web UI, only the reblogged one.
src/types.rs
patch
|
blob
|
history
diff --git
a/src/types.rs
b/src/types.rs
index 0b7f2df7c5c5edd298f2f0b0835a90970a26c8d4..12236b3954e0f5c98330a8cbf5e9e18c978e970a 100644
(file)
--- 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<String>
,
pub in_reply_to_id: Option<String>,
pub in_reply_to_account_id: Option<String>,
pub reblog: Option<Box<Status>>,