Actually put some onformation in the error user, make it actually properly parse

in conversations.
This commit is contained in:
lain 2019-01-07 20:59:30 +01:00
commit a16b17cc61
2 changed files with 10 additions and 5 deletions

View file

@ -101,12 +101,14 @@ defmodule Pleroma.Web.TwitterAPI.ActivityView do
user
true ->
error_user()
error_user(ap_id)
end
end
defp error_user do
defp error_user(ap_id) do
%User{
name: ap_id,
ap_id: ap_id,
info: %User.Info{},
nickname: "erroruser@example.com",
inserted_at: NaiveDateTime.utc_now()