Do recursive fetching in-band for now.

This is to prevent conversation id problems.
This commit is contained in:
Roger Braun 2017-05-06 12:15:48 +02:00
parent 04f6ece99e
commit 7e65cad9fe

View file

@ -124,7 +124,7 @@ defmodule Pleroma.Web.OStatus do
if !Object.get_cached_by_ap_id(inReplyTo) do
inReplyToHref = string_from_xpath("//thr:in-reply-to[1]/@href", entry)
if inReplyToHref do
Task.start(fn -> fetch_activity_from_html_url(inReplyToHref) end)
fetch_activity_from_html_url(inReplyToHref)
end
end