diff options
author | Dessalines <tyhou13@gmx.com> | 2020-04-27 18:17:02 -0400 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-04-27 18:17:02 -0400 |
commit | 70060c27b2f40ef2de0c0ea37d3d69e202ab8c02 (patch) | |
tree | 20f408714ab575852648b525bb3524fb596588d9 /server/src/api/community.rs | |
parent | 9c30b37d57ee241ea1b4f1cbc5f6ee0d631c5acf (diff) |
Adding activity table inserts.
Diffstat (limited to 'server/src/api/community.rs')
-rw-r--r-- | server/src/api/community.rs | 2 |
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 } |