소스 검색

Use empty context id if we get none

Thanks mastodon.
tags/v0.9.9
Roger Braun 7 년 전
부모
커밋
8ae13d94dc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      lib/pleroma/web/ostatus/ostatus.ex

+ 1
- 1
lib/pleroma/web/ostatus/ostatus.ex 파일 보기

@@ -45,7 +45,7 @@ defmodule Pleroma.Web.OStatus do
uri = string_from_xpath("/entry/author/uri[1]", entry) || string_from_xpath("/feed/author/uri[1]", doc)
{:ok, actor} = find_or_make_user(uri)

context = string_from_xpath("/entry/ostatus:conversation[1]", entry) |> String.trim
context = (string_from_xpath("/entry/ostatus:conversation[1]", entry) || "") |> String.trim
context = if String.length(context) > 0 do
context
else


불러오는 중...
취소
저장