]> cat aescling's git repositories - mastodon.git/commit
Fix #1813 - Alleviate extra requests when processing mentions (#1938)
authorEugen <eugen@zeonfederated.com>
Sun, 16 Apr 2017 16:01:48 +0000 (18:01 +0200)
committerGitHub <noreply@github.com>
Sun, 16 Apr 2017 16:01:48 +0000 (18:01 +0200)
commitbabbb2135e07faf74df19676c5ab886265890043
treed2a485a5832f80ec5f86e605bc0da8af755007e4
parent99226aba9391535a20d3cc6dba0f45e5792c73d4
Fix #1813 - Alleviate extra requests when processing mentions (#1938)

The <link rel="mentioned" /> tag refers to accounts by href. So we were
matching the DB by the url attribute, and falling back to HTTP look-up.
However, GS and Mastodon use profile URLs as URIs, too, and the match
for that was missing. This could potentially alleviate some extra network
requests
app/services/process_feed_service.rb