From: Eugen Rochko Date: Sat, 27 Apr 2019 21:55:16 +0000 (+0200) Subject: Fix approved column being set to nil instead of false (#10642) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=e18786dec769791d6ecd7f21a89ae97fb00c44cf;p=mastodon.git Fix approved column being set to nil instead of false (#10642) Fix https://github.com/tootsuite/mastodon/pull/10621#issuecomment-487316619 --- 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