feat: attachments; other cleanup

This commit is contained in:
nullishamy 2025-05-04 12:58:34 +01:00
parent f0e287c78d
commit 8cf7834cfe
Signed by: amy
SSH key fingerprint: SHA256:WmV0uk6WgAQvDJlM8Ld4mFPHZo02CLXXP5VkwQ5xtyk
10 changed files with 687 additions and 15 deletions

View file

@ -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,