Actually, we don't need to federate a Note
Mastodon supports Article, see https://github.com/tootsuite/mastodon/blob/63f097979990bf5ba9db848b8a253056bad781af/app/lib/activitypub/activity/create.rb#L191
This commit is contained in:
@@ -58,9 +58,5 @@ fn create(blog_name: String, data: Form<NewPostForm>, user: User, conn: DbConn)
|
||||
let act = Create::new(&user, &post, &*conn);
|
||||
broadcast(&*conn, &user, act, user.get_followers(&*conn));
|
||||
|
||||
let note_act = Create::new(&user, &PostNote { post: post }, &*conn);
|
||||
broadcast(&*conn, &user, note_act, user.get_followers(&*conn));
|
||||
|
||||
|
||||
Redirect::to(format!("/~/{}/{}", blog_name, slug).as_str())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user