Commit b0fc9576 authored by deadsuperhero's avatar deadsuperhero

Merge pull request #3655 from denschub/feature/fix-followhq-setting

Change 'unless' to 'if' because 'unless' is wrong here. [ci skip]
parents 0057e9ed 7dc62917
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment