diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-09-22 12:06:45 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-09-22 12:06:45 -0500 |
commit | e6212de0474c57c6a87c35d947eeac400f68d0a7 (patch) | |
tree | abfb86f906f92d66007b292dde2d9caea5aa4c18 | |
parent | 0f60fd09f614b4f2f09f1cb1c8b2722767105261 (diff) |
Explicitly-invited users do not have to pass the Kobold Hash
-rw-r--r-- | app/models/user.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index 9218abbb7..fa16f91b8 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -459,7 +459,7 @@ class User < ApplicationRecord end def user_might_not_be_a_spam_bot - username == account.username && invite_request&.text.present? && kobold_hash_matches? + username == account.username && (invited? || (invite_request&.text.present? && kobold_hash_matches?)) end def kobold_hash_matches? |