Skip to content
Extraits de code Groupes Projets
Valider 0b00616b rédigé par Raphael Sofaer's avatar Raphael Sofaer
Parcourir les fichiers

Create appConfig option for following diasporahq

parent 7021cd79
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -349,8 +349,10 @@ class User < ActiveRecord::Base
self.aspects.create(:name => I18n.t('aspects.seed.work'))
aq = self.aspects.create(:name => I18n.t('aspects.seed.acquaintances'))
default_account = Webfinger.new('diasporahq@joindiaspora.com').fetch
self.share_with(default_account, aq) if default_account
unless AppConfig[:no_follow_diasporahq]
default_account = Webfinger.new('diasporahq@joindiaspora.com').fetch
self.share_with(default_account, aq) if default_account
end
aq
end
......
......@@ -17,6 +17,12 @@ defaults: &defaults
# Set this to true if you want users to invite as many people as they want
open_invitations: true
# Set this to true if you don't want your users to follow the diasporahq@joindiaspora.com
# account on account creation. The diasporahq account helps users start with some
# activity in their stream and get news about Diaspora, but if you don't want your server
# to contact joindiaspora.com, set this to true:
no_follow_diasporahq: false
#
# Logging setup
#
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter