1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-18 10:59:17 +00:00

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 @@ 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