diff options
Diffstat (limited to 'server/src/apub/mod.rs')
-rw-r--r-- | server/src/apub/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/apub/mod.rs b/server/src/apub/mod.rs index 14f3e798..4b08c53a 100644 --- a/server/src/apub/mod.rs +++ b/server/src/apub/mod.rs @@ -184,12 +184,12 @@ pub trait ActorType { // and a user can't be followed (yet) #[allow(unused_variables)] fn send_follow(&self, follow_actor_id: &str, conn: &PgConnection) -> Result<(), Error> { - Ok(()) + Err(format_err!("Follow not implemented.")) } #[allow(unused_variables)] fn send_accept_follow(&self, follow: &Follow, conn: &PgConnection) -> Result<(), Error> { - Ok(()) + Err(format_err!("Accept not implemented.")) } // TODO default because there is no user following yet. |