瀏覽代碼

Do recursive fetching in-band for now.

This is to prevent conversation id problems.
tags/v0.9.9
Roger Braun 7 年之前
父節點
當前提交
7e65cad9fe
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      lib/pleroma/web/ostatus/ostatus.ex

+ 1
- 1
lib/pleroma/web/ostatus/ostatus.ex 查看文件

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



Loading…
取消
儲存