]> Untitled Git - lemmy.git/commitdiff
show_nsfw is now default for postquery.
authorDessalines <tyhou13@gmx.com>
Sun, 8 Dec 2019 02:01:54 +0000 (18:01 -0800)
committerDessalines <tyhou13@gmx.com>
Sun, 8 Dec 2019 02:01:54 +0000 (18:01 -0800)
server/src/api/user.rs

index 8a508e2a0f25f9aecac6bb8ac656f2c0c061b298..e3d67451b7fd2c6f3ab25613afe0948da952f707 100644 (file)
@@ -761,7 +761,6 @@ impl Perform<LoginResponse> for Oper<DeleteAccount> {
     // Posts
     let posts = PostQueryBuilder::create(&conn)
       .sort(&SortType::New)
-      .show_nsfw(true)
       .for_creator_id(user_id)
       .limit(std::i64::MAX)
       .list()?;