diff options
author | JantsoP <jantso.porali@gmail.com> | 2017-04-04 08:41:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-04 08:41:46 +0200 |
commit | db4a41cf58f6b15e380ff1fdbc8f392e31e4235b (patch) | |
tree | a68429f1bade4869fccc4af5bcef8afbe570e1e1 /app/models/status.rb | |
parent | dc89fc17cc35f8e1deaffb30ae581ac453a7a9fc (diff) | |
parent | eb023beb4975a019d6a3b3091483c91c2c837bbd (diff) |
Merge branch 'master' into master
Diffstat (limited to 'app/models/status.rb')
-rw-r--r-- | app/models/status.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/status.rb b/app/models/status.rb index 81b26fd14..daf128572 100644 --- a/app/models/status.rb +++ b/app/models/status.rb @@ -188,7 +188,7 @@ class Status < ApplicationRecord end before_validation do - text.strip! + text&.strip! spoiler_text&.strip! self.reply = !(in_reply_to_id.nil? && thread.nil?) unless reply |