summaryrefslogtreecommitdiffstats
path: root/server/src/apub/mod.rs
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-04-28 09:57:28 -0400
committerDessalines <tyhou13@gmx.com>2020-04-28 09:57:28 -0400
commit07a9d84ed08d85847ebe15fa68e20a2763508046 (patch)
treed4a0e2fe50fd85dc1c7c327e5d990d877054074b /server/src/apub/mod.rs
parent4b741c37595a04da99118a3c26de02f253d91cd2 (diff)
Removing some comments.
Diffstat (limited to 'server/src/apub/mod.rs')
-rw-r--r--server/src/apub/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/apub/mod.rs b/server/src/apub/mod.rs
index 36f26e4b..373fa8da 100644
--- a/server/src/apub/mod.rs
+++ b/server/src/apub/mod.rs
@@ -179,12 +179,12 @@ pub trait ActorType {
// and a user can't be followed (yet)
#[allow(unused_variables)]
fn send_follow(&self, follow_actor_id: &str) -> Result<(), Error> {
- Ok(())
+ Err(format_err!("Follow not implemented."))
}
#[allow(unused_variables)]
fn send_accept_follow(&self, follow: &Follow) -> Result<(), Error> {
- Ok(())
+ Err(format_err!("Accept not implemented."))
}
// TODO default because there is no user following yet.