mirror of
https://github.com/nullishamy/ferri.git
synced 2025-06-28 09:04:18 +00:00
feat: attachments; other cleanup
This commit is contained in:
parent
f0e287c78d
commit
8cf7834cfe
10 changed files with 687 additions and 15 deletions
|
@ -75,6 +75,10 @@ impl<'a> HttpWrapper<'a> {
|
|||
self.get("Person", url).await
|
||||
}
|
||||
|
||||
pub async fn get_note(&self, url: &str) -> Result<ap::Post, HttpError> {
|
||||
self.get("Note", url).await
|
||||
}
|
||||
|
||||
pub async fn post_activity<T : Serialize + Debug>(
|
||||
&self,
|
||||
inbox: &str,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue