MastoAPI: Fix reblog emojis.

This commit is contained in:
Roger Braun 2017-11-11 11:18:05 +01:00
parent fd12e585c9
commit a1923d20e8
2 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,7 @@ def render("status.json", %{activity: %{data: %{"type" => "Announce", "object" =
website: nil website: nil
}, },
language: nil, language: nil,
emoji: [] emojis: []
} }
end end

View File

@ -103,5 +103,6 @@ test "a reblog" do
assert represented[:id] == to_string(reblog.id) assert represented[:id] == to_string(reblog.id)
assert represented[:reblog][:id] == to_string(activity.id) assert represented[:reblog][:id] == to_string(activity.id)
assert represented[:emojis] == []
end end
end end