MastoAPI: Fix reblog emojis.
This commit is contained in:
parent
fd12e585c9
commit
a1923d20e8
2 changed files with 2 additions and 1 deletions
|
@ -46,7 +46,7 @@ def render("status.json", %{activity: %{data: %{"type" => "Announce", "object" =
|
|||
website: nil
|
||||
},
|
||||
language: nil,
|
||||
emoji: []
|
||||
emojis: []
|
||||
}
|
||||
end
|
||||
|
||||
|
|
|
@ -103,5 +103,6 @@ test "a reblog" do
|
|||
|
||||
assert represented[:id] == to_string(reblog.id)
|
||||
assert represented[:reblog][:id] == to_string(activity.id)
|
||||
assert represented[:emojis] == []
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue