Merge pull request #3655 from denschub/feature/fix-followhq-setting
Change 'unless' to 'if' because 'unless' is wrong here. [ci skip]
This commit is contained in:
commit
b0fc95764d
1 changed files with 1 additions and 1 deletions
|
|
@ -410,7 +410,7 @@ class User < ActiveRecord::Base
|
|||
self.aspects.create(:name => I18n.t('aspects.seed.work'))
|
||||
aq = self.aspects.create(:name => I18n.t('aspects.seed.acquaintances'))
|
||||
|
||||
unless AppConfig.settings.follow_diasporahq
|
||||
if AppConfig.settings.follow_diasporahq
|
||||
default_account = Webfinger.new('diasporahq@joindiaspora.com').fetch
|
||||
self.share_with(default_account, aq) if default_account
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue