about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/status.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/status.rb b/app/models/status.rb
index 46361280d..69d3a0ff8 100644
--- a/app/models/status.rb
+++ b/app/models/status.rb
@@ -28,6 +28,7 @@
 #  edited                 :integer          default(0), not null
 #  nest_level             :integer          default(0), not null
 #  published              :boolean          default(TRUE), not null
+#  title                  :text
 #
 
 # rubocop:disable Metrics/ClassLength
@@ -527,6 +528,7 @@ class Status < ApplicationRecord
   def prepare_contents
     text&.strip!
     spoiler_text&.strip!
+    title&.strip!
   end
 
   def set_reblog