block diasporahq from posting to federation for today
This commit is contained in:
parent
c5fbe1584a
commit
9917dac4c2
1 changed files with 2 additions and 0 deletions
|
|
@ -14,7 +14,9 @@ module Job
|
||||||
OPTS = {:max_redirects => 3, :timeout => 5000, :method => :post}
|
OPTS = {:max_redirects => 3, :timeout => 5000, :method => :post}
|
||||||
|
|
||||||
def self.perform(user_id, enc_object_xml, person_ids, retry_count=0)
|
def self.perform(user_id, enc_object_xml, person_ids, retry_count=0)
|
||||||
|
return true if user_id == '91842' #NOTE 09/08/11 blocking diapsorahqposts
|
||||||
user = User.find(user_id)
|
user = User.find(user_id)
|
||||||
|
|
||||||
people = Person.where(:id => person_ids)
|
people = Person.where(:id => person_ids)
|
||||||
|
|
||||||
salmon = Salmon::SalmonSlap.create(user, Base64.decode64(enc_object_xml))
|
salmon = Salmon::SalmonSlap.create(user, Base64.decode64(enc_object_xml))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue