this is how easy it is to implement post federation?

This commit is contained in:
April John 2025-02-03 11:34:22 +01:00
parent 44108cb2d3
commit 2401a6f42d
3 changed files with 64 additions and 10 deletions

View file

@ -23,7 +23,7 @@ pub struct DbPost {
pub local: bool,
}
#[derive(Deserialize, Serialize, Debug)]
#[derive(Deserialize, Serialize, Debug, Clone)]
#[serde(rename_all = "camelCase")]
pub struct Note {
#[serde(rename = "type")]