diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-04-27 23:55:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-27 23:55:16 +0200 |
commit | e18786dec769791d6ecd7f21a89ae97fb00c44cf (patch) | |
tree | 3cab138e3eaf9e6a9650c3ad666ff49dfc8f4fb9 /app | |
parent | fba96c808d25d2fc35ec63ee6745a1e55a95d707 (diff) |
Fix approved column being set to nil instead of false (#10642)
Fix https://github.com/tootsuite/mastodon/pull/10621#issuecomment-487316619
Diffstat (limited to 'app')
-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 9a0671006..c42f6ad8d 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -282,7 +282,7 @@ class User < ApplicationRecord end def external? - @external + !!@external end def sanitize_languages |