Actually put some onformation in the error user, make it actually properly parse
in conversations.
This commit is contained in:
parent
74e1093732
commit
a16b17cc61
2 changed files with 10 additions and 5 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue