logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 9e3d24a150acf118789461797735fc0e4a8a30ea
parent: 556c07df1f30482782cd94070d23b31ffdefca89
Author: ysksn <bluewhale1982@gmail.com>
Date:   Thu, 16 Nov 2017 20:13:03 +0900

Fix AccountFinderConcern::AccountFinder#with_usernames (#5722)


Diffstat:

Mapp/models/concerns/account_finder_concern.rb2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/models/concerns/account_finder_concern.rb b/app/models/concerns/account_finder_concern.rb @@ -44,7 +44,7 @@ module AccountFinderConcern end def with_usernames - Account.where.not(username: [nil, '']) + Account.where.not(username: '') end def matching_username