summaryrefslogtreecommitdiffstats
path: root/server/src
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-06-03 17:55:32 -0400
committerDessalines <tyhou13@gmx.com>2020-06-03 17:55:32 -0400
commitf40f74b20d736b72152ffdf3823026b9bce6f920 (patch)
treecc5db0ea985f09fd9414785dac22034ae0cdd4b3 /server/src
parent1aa30d855e111174f1e3931fdf0964a889cb9b7e (diff)
Adding additional 3-instance integration test for community announce.
Diffstat (limited to 'server/src')
-rw-r--r--server/src/apub/shared_inbox.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/src/apub/shared_inbox.rs b/server/src/apub/shared_inbox.rs
index 81dd14c3..3ecc873e 100644
--- a/server/src/apub/shared_inbox.rs
+++ b/server/src/apub/shared_inbox.rs
@@ -218,7 +218,6 @@ where
let community = Community::read_from_actor_id(conn, &community_uri)?;
if community.local {
let sending_user = get_or_fetch_and_upsert_remote_user(&sender.to_string(), &conn)?;
- insert_activity(&conn, sending_user.id, &activity, false)?;
Community::do_announce(activity, &community, &sending_user, conn)
} else {
Ok(HttpResponse::NotFound().finish())