diaspora/diaspora — comment on commit a070dcc0434495f173c79951c95032e23a6234dc
File: lib/diaspora/federated/parser.rb line 34
By maxwell:

webfinger.fetch does check locally before queuing a remote job. we webfinger here because we need to make sure we know who the author is, which only actually could be a problem if the object is a like or comment on a remote contacts post.Before, we were being really defensive about when do do this query, but I decided to do it earlier because 95% of the time, it is just a database lookup, and the other 5%, we were doing the webfinger anyways.