]> cat aescling's git repositories - mastodon.git/commitdiff
Change default post privacy for new accounts to unlisted
authorsingle-right-quote <34298117+single-right-quote@users.noreply.github.com>
Wed, 1 Sep 2021 00:22:52 +0000 (00:22 +0000)
committersingle-right-quote <34298117+single-right-quote@users.noreply.github.com>
Wed, 1 Sep 2021 00:30:37 +0000 (00:30 +0000)
allowing randos to show up in your menchies should be an informed
choice, especially for new users to the fediverse

kibi pointed this out so i guess i'm doing a guar gum now lol

--- yr cat

app/models/user.rb

index a1a2780042ec3da9b11fafdd8d0b99ca45267171..c86a0377e2ad0bf2f580f0b19c844fa8b11b8c15 100644 (file)
@@ -246,7 +246,7 @@ class User < ApplicationRecord
   end
 
   def setting_default_privacy
-    settings.default_privacy || (account.locked? ? 'private' : 'public')
+    settings.default_privacy || (account.locked? ? 'private' : 'unlisted')
   end
 
   def allows_digest_emails?