summaryrefslogtreecommitdiffstats
path: root/server/src/api/community.rs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/api/community.rs')
-rw-r--r--server/src/api/community.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/api/community.rs b/server/src/api/community.rs
index 174a91c8..296a77ea 100644
--- a/server/src/api/community.rs
+++ b/server/src/api/community.rs
@@ -488,7 +488,7 @@ impl Perform for Oper<FollowCommunity> {
} else {
// TODO: still have to implement unfollow
let user = User_::read(&conn, user_id)?;
- user.send_follow(&community.actor_id)?;
+ user.send_follow(&community.actor_id, &conn)?;
// TODO: this needs to return a "pending" state, until Accept is received from the remote server
}