summaryrefslogtreecommitdiffstats
path: root/server/src/api/post.rs
diff options
context:
space:
mode:
authorFelix Ableitner <me@nutomic.com>2020-03-18 22:09:00 +0100
committerFelix Ableitner <me@nutomic.com>2020-03-18 22:09:00 +0100
commit390b204272e06a1b880ea63ae4f12183fb8dc555 (patch)
tree7e97de25afe43d3ad21e178a2d679224b381d94b /server/src/api/post.rs
parentbd030470b1f488f40b739bbbcbd281c5234ec62c (diff)
Rewrite federation settings
Diffstat (limited to 'server/src/api/post.rs')
-rw-r--r--server/src/api/post.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/api/post.rs b/server/src/api/post.rs
index 1602626b..651d5769 100644
--- a/server/src/api/post.rs
+++ b/server/src/api/post.rs
@@ -221,7 +221,7 @@ impl Perform<GetPostsResponse> for Oper<GetPosts> {
fn perform(&self, conn: &PgConnection) -> Result<GetPostsResponse, Error> {
let data: &GetPosts = &self.data;
- if Settings::get().federation_enabled {
+ if Settings::get().federation.enabled {
// TODO: intercept here (but the type is wrong)
//get_remote_community_posts(get_posts.community_id.unwrap())
}