Add some notifications

When liking, commenting or following
This commit is contained in:
Bat
2018-05-13 14:03:35 +01:00
parent 780a51157f
commit 726c2c7e82
2 changed files with 43 additions and 4 deletions
-2
View File
@@ -56,8 +56,6 @@ pub trait Inbox: Actor + Sized {
self.accept_follow(conn, &from, &blog, &follow_act, from.id, blog.id)
}
};
// TODO: notification
}
"Like" => {
let liker = User::from_url(conn, act["actor"].as_str().unwrap().to_string());