fix(web): add fetch to feeds too if logged

does nothing everywhere except for replies, maybe this is a bad design??
no it's the good sense to be wrong!!
This commit is contained in:
əlemi 2024-11-10 21:51:26 +01:00
parent cdb404c344
commit e8da3765ad
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -84,6 +84,9 @@ impl Timeline {
feed_url + "?replies=false" feed_url + "?replies=false"
}; };
} }
if auth.present() {
feed_url += "&fetch=true";
}
let collection : serde_json::Value = Http::fetch(&feed_url, auth).await?; let collection : serde_json::Value = Http::fetch(&feed_url, auth).await?;
let activities : Vec<serde_json::Value> = collection let activities : Vec<serde_json::Value> = collection
.ordered_items() .ordered_items()