1
0
Fork 0
forked from gitea/nas

Add public post to unlisted setting

This commit is contained in:
KMY 2023-04-10 14:08:43 +09:00
parent dadd77788d
commit bc48000dce
7 changed files with 17 additions and 3 deletions

View file

@ -137,7 +137,7 @@ class User < ApplicationRecord
:reduce_motion, :system_font_ui, :noindex, :theme, :display_media, :display_media_expand,
:expand_spoilers, :default_language, :aggregate_reblogs, :show_application,
:advanced_layout, :use_blurhash, :use_pending_items, :trends, :crop_images,
:disable_swiping, :always_send_emails,
:disable_swiping, :always_send_emails, :public_post_to_unlisted,
to: :settings, prefix: :setting, allow_nil: false
delegate :can?, to: :role