Class: Workers::FetchWebfinger

Inherits:
Base
  • Object
show all
Defined in:
app/workers/fetch_webfinger.rb

Instance Method Summary collapse

Instance Method Details

#perform(account) ⇒ Object


11
12
13
14
15
16
# File 'app/workers/fetch_webfinger.rb', line 11

def perform()
  person = Person.find_or_fetch_by_identifier()

  # also, schedule to fetch a few public posts from that person
  Diaspora::Fetcher::Public.queue_for(person) unless person.nil?
end