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 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
website: nil website: nil
}, },
language: nil, language: nil,
emoji: [] emojis: []
} }
end end

View file

@ -103,5 +103,6 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest 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