diff options
author | Dessalines <tyhou13@gmx.com> | 2020-05-01 10:07:38 -0400 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-05-01 10:07:38 -0400 |
commit | 2f1cd9976dbdc034836a01748086056999aff52a (patch) | |
tree | 8abfa5764773ba91923794590468c5c52b460303 /server/src/apub/user.rs | |
parent | 461114c143aebf02f70de2b21d8b1272f67f12a2 (diff) |
Adding federated community, comment, and post deletes.
- Unit tests added too.
- No undeletes working yet.
Diffstat (limited to 'server/src/apub/user.rs')
-rw-r--r-- | server/src/apub/user.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/src/apub/user.rs b/server/src/apub/user.rs index 7426efd5..0d0bc8f2 100644 --- a/server/src/apub/user.rs +++ b/server/src/apub/user.rs @@ -43,6 +43,9 @@ impl ToApub for User_ { Ok(person.extend(actor_props).extend(self.get_public_key_ext())) } + fn to_tombstone(&self) -> Result<Tombstone, Error> { + unimplemented!() + } } impl ActorType for User_ { @@ -88,7 +91,7 @@ impl ActorType for User_ { Ok(()) } - fn send_delete(&self, _conn: &PgConnection) -> Result<(), Error> { + fn send_delete(&self, _creator: &User_, _conn: &PgConnection) -> Result<(), Error> { unimplemented!() } } |