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:
parent
cdb404c344
commit
e8da3765ad
1 changed files with 3 additions and 0 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue