about summary refs log tree commit diff
path: root/app/models/list.rb
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-12-09 19:06:13 +0100
committerGitHub <noreply@github.com>2020-12-09 19:06:13 +0100
commitb27d11dd3320cb005561f0bb1b81baecea8a7c43 (patch)
treedba9599f5416483c4a9fcad0002e5a2d6bcd4de1 /app/models/list.rb
parent25f725d67a6d2542cd586ab7c56baca572eb4f88 (diff)
parent7d0e45a3be167d95cbc4d5f80fa989a9371802ae (diff)
Merge pull request #1472 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/models/list.rb')
-rw-r--r--app/models/list.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/list.rb b/app/models/list.rb
index 8493046e5..655d55ff6 100644
--- a/app/models/list.rb
+++ b/app/models/list.rb
@@ -8,7 +8,7 @@
 #  title          :string           default(""), not null
 #  created_at     :datetime         not null
 #  updated_at     :datetime         not null
-#  replies_policy :integer          default("list_replies"), not null
+#  replies_policy :integer          default("list"), not null
 #
 
 class List < ApplicationRecord
@@ -16,7 +16,7 @@ class List < ApplicationRecord
 
   PER_ACCOUNT_LIMIT = 50
 
-  enum replies_policy: [:list_replies, :all_replies, :no_replies], _prefix: :show
+  enum replies_policy: [:list, :followed, :none], _prefix: :show
 
   belongs_to :account, optional: true