1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-01 08:18:48 +09:00

Fix approved column being set to nil instead of false (#10642)

Fix https://github.com/tootsuite/mastodon/pull/10621#issuecomment-487316619
This commit is contained in:
Eugen Rochko 2019-04-27 23:55:16 +02:00 committed by GitHub
parent fba96c808d
commit e18786dec7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -282,7 +282,7 @@ class User < ApplicationRecord
end
def external?
@external
!!@external
end
def sanitize_languages