From 7e65cad9fe91cf7c0c25e8f307358083b3c8f784 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Sat, 6 May 2017 12:15:48 +0200 Subject: [PATCH] Do recursive fetching in-band for now. This is to prevent conversation id problems. --- lib/pleroma/web/ostatus/ostatus.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/web/ostatus/ostatus.ex b/lib/pleroma/web/ostatus/ostatus.ex index 2a107b6a6..e4448eb73 100644 --- a/lib/pleroma/web/ostatus/ostatus.ex +++ b/lib/pleroma/web/ostatus/ostatus.ex @@ -124,7 +124,7 @@ def handle_note(entry, doc \\ nil) 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