Parcourir la source

Do recursive fetching in-band for now.

This is to prevent conversation id problems.
tags/v0.9.9
Roger Braun il y a 7 ans
Parent
révision
7e65cad9fe
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      lib/pleroma/web/ostatus/ostatus.ex

+ 1
- 1
lib/pleroma/web/ostatus/ostatus.ex Voir le fichier

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



Chargement…
Annuler
Enregistrer