Do recursive fetching in-band for now.
authorRoger Braun <roger@rogerbraun.net>
Sat, 6 May 2017 10:15:48 +0000 (12:15 +0200)
committerRoger Braun <roger@rogerbraun.net>
Sat, 6 May 2017 10:15:48 +0000 (12:15 +0200)
This is to prevent conversation id problems.

lib/pleroma/web/ostatus/ostatus.ex

index 2a107b6a652febb0d499c977c2a0257f839a3c56..e4448eb73aee4c96891af01a3c73d0937eb0407e 100644 (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